Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
slapos.toolbox
Commits
3938e835
Commit
3938e835
authored
May 17, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resiliencetest: Fix typo on _connectToGitlab
parent
1a58808f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
slapos/resiliencytest/suites/gitlab.py
slapos/resiliencytest/suites/gitlab.py
+3
-3
No files found.
slapos/resiliencytest/suites/gitlab.py
View file @
3938e835
...
@@ -56,7 +56,7 @@ class GitlabTestSuite(SlaprunnerTestSuite):
...
@@ -56,7 +56,7 @@ class GitlabTestSuite(SlaprunnerTestSuite):
data
=
'software_type=gitlab-test¶meter=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Cinstance%3E%0A%3C%2Finstance%3E'
data
=
'software_type=gitlab-test¶meter=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Cinstance%3E%0A%3C%2Finstance%3E'
)
)
def
_connectToGitlab
(
self
,
path
=
''
,
post_data
=
None
,
url
=
''
,
param
s
=
{}):
def
_connectToGitlab
(
self
,
path
=
''
,
post_data
=
None
,
url
=
''
,
param
eter_dict
=
{}):
request_url
=
self
.
backend_url
request_url
=
self
.
backend_url
if
url
:
if
url
:
request_url
=
url
request_url
=
url
...
@@ -79,8 +79,8 @@ class GitlabTestSuite(SlaprunnerTestSuite):
...
@@ -79,8 +79,8 @@ class GitlabTestSuite(SlaprunnerTestSuite):
def
_createNewProject
(
self
,
name
,
namespace
=
'open'
):
def
_createNewProject
(
self
,
name
,
namespace
=
'open'
):
uri
=
'api/v3/projects'
uri
=
'api/v3/projects'
param
s
=
{
'name'
:
name
,
'namespace'
:
namespace
}
param
ameter_dict
=
{
'name'
:
name
,
'namespace'
:
namespace
}
return
self
.
_connectToGitlab
(
uri
,
post_data
=
{},
param
=
params
)
return
self
.
_connectToGitlab
(
uri
,
post_data
=
{},
param
eter_dict
=
params
)
def
_listProjects
(
self
):
def
_listProjects
(
self
):
path
=
'api/v3/projects'
path
=
'api/v3/projects'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment