Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
85c2edc7
Commit
85c2edc7
authored
Oct 22, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround: force test run in order to pickup tests from BT5.
parent
37809bbb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
master/product/SlapOS/tests/SlapOSMixin.py
master/product/SlapOS/tests/SlapOSMixin.py
+10
-0
master/product/SlapOS/tests/testSlapOSDummy.py
master/product/SlapOS/tests/testSlapOSDummy.py
+21
-0
master/tests/__init__.py
master/tests/__init__.py
+2
-1
No files found.
master/product/SlapOS/tests/SlapOSMixin.py
0 → 100644
View file @
85c2edc7
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2012 Nexedi SA and Contributors. All Rights Reserved.
#
##############################################################################
import
Products.Vifib.tests.VifibMixin
class
testSlapOSMixin
(
Products
.
Vifib
.
tests
.
VifibMixin
.
testVifibMixin
):
pass
master/product/SlapOS/tests/testSlapOSDummy.py
0 → 100644
View file @
85c2edc7
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2012 Nexedi SA and Contributors. All Rights Reserved.
#
##############################################################################
import
unittest
from
SlapOSMixin
import
testSlapOSMixin
class
TestSlapOSDummy
(
testSlapOSMixin
):
run_all_test
=
1
def
test
(
self
):
self
.
assertTrue
(
True
)
def
getTitle
(
self
):
return
"Dummy tests in order to have tests from BT5 run"
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
TestSlapOSDummy
))
return
suite
master/tests/__init__.py
View file @
85c2edc7
...
...
@@ -27,5 +27,6 @@ class VIFIB(SavedTestSuite, ProjectTestSuite):
]
class
SlapOSCloud
(
SavedTestSuite
,
ProjectTestSuite
):
_saved_test_id
=
'Products.Vifib.tests.VifibMixin.testVifibMixin'
_product_list
=
[
'SlapOS'
]
_saved_test_id
=
'Products.SlapOS.tests.SlapOSMixin.testSlapOSMixin'
_bt_list
=
[
'slapos_cloud'
]
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