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
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
Steven Gueguen
slapos
Commits
e5cd611c
Commit
e5cd611c
authored
Mar 31, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/slapos-testing: stop testing slapos.toolbox on python2
This only support python3 since some time
parent
4230cd1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
software/slapos-testing/buildout.hash.cfg
software/slapos-testing/buildout.hash.cfg
+1
-1
software/slapos-testing/instance.cfg
software/slapos-testing/instance.cfg
+14
-13
No files found.
software/slapos-testing/buildout.hash.cfg
View file @
e5cd611c
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[template]
[template]
filename = instance.cfg
filename = instance.cfg
md5sum =
a8bd56d112344ae56138e3a775fec478
md5sum =
5f5378550470b551d280dd432878a0ba
software/slapos-testing/instance.cfg
View file @
e5cd611c
...
@@ -177,19 +177,20 @@ inline =
...
@@ -177,19 +177,20 @@ inline =
cwd="""$${slapos.recipe.template:location}""",
cwd="""$${slapos.recipe.template:location}""",
summaryf=UnitTest.summary,
summaryf=UnitTest.summary,
)
)
TestCase(
if six.PY3:
"slapos.toolbox",
TestCase(
# ['python', '-m', 'unittest', 'discover', '-v'],
"slapos.toolbox",
# XXX We can not just run unittest discover here, since slapos/lamp
# ['python', '-m', 'unittest', 'discover', '-v'],
# imports MySQLDb and we currently don't have installed
# XXX We can not just run unittest discover here, since slapos/lamp
# slapos.toolbox[lampconfigure] and on python3 discovery make a
# imports MySQLDb and we currently don't have installed
# failing test for this import error.
# slapos.toolbox[lampconfigure] and on python3 discovery make a
# Currently slapos/lamp is not tested, but if it it is still used,
# failing test for this import error.
# the TODO seem to also install slapos.toolbox[lampconfigure] here.
# Currently slapos/lamp is not tested, but if it it is still used,
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapos/test', '--top-level-directory', '.'],
# the TODO seem to also install slapos.toolbox[lampconfigure] here.
cwd="""$${slapos.toolbox:location}""",
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapos/test', '--top-level-directory', '.'],
summaryf=UnitTest.summary,
cwd="""$${slapos.toolbox:location}""",
)
summaryf=UnitTest.summary,
)
TestCase(
TestCase(
"slapos.libnetworkcache",
"slapos.libnetworkcache",
['python', '-m', 'unittest', '-v', 'slapos.libnetworkcachetests'],
['python', '-m', 'unittest', '-v', 'slapos.libnetworkcachetests'],
...
...
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