Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
7683e129
Commit
7683e129
authored
Apr 17, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! proftpd: instance test suite
fix getInstanceParameterDict typo
parent
e27cb497
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/proftpd/test/test.py
software/proftpd/test/test.py
+1
-1
software/proftpd/test/utils.py
software/proftpd/test/utils.py
+1
-1
No files found.
software/proftpd/test/test.py
View file @
7683e129
...
...
@@ -193,7 +193,7 @@ class TestBan(ProFTPdTestCase):
class
TestInstanceParameterPort
(
ProFTPdTestCase
):
@
classmethod
def
getInstanceParmeterDict
(
cls
):
def
getInstancePar
a
meterDict
(
cls
):
cls
.
free_port
=
utils
.
findFreeTCPPort
(
cls
.
config
[
'ipv4_address'
])
return
{
'port'
:
cls
.
free_port
}
...
...
software/proftpd/test/utils.py
View file @
7683e129
...
...
@@ -55,7 +55,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
raise
NotImplementedError
()
@
classmethod
def
getInstanceParmeterDict
(
cls
):
def
getInstancePar
a
meterDict
(
cls
):
"""Return instance parameters
To be defined by subclasses if they need to request instance with specific
...
...
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