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
Klaus Wölfel
slapos.core
Commits
4844066e
Commit
4844066e
authored
Oct 22, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop not needed dummy module.
parent
2530615b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
32 deletions
+47
-32
master/product/SlapOS/tests/SlapOSMixin.py
master/product/SlapOS/tests/SlapOSMixin.py
+0
-10
master/product/SlapOS/tests/testSlapOSDummy.py
master/product/SlapOS/tests/testSlapOSDummy.py
+0
-21
master/product/SlapOS/tests/testSlapOSMixin.py
master/product/SlapOS/tests/testSlapOSMixin.py
+46
-0
master/tests/__init__.py
master/tests/__init__.py
+1
-1
No files found.
master/product/SlapOS/tests/SlapOSMixin.py
deleted
100644 → 0
View file @
2530615b
# -*- 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
deleted
100644 → 0
View file @
2530615b
# -*- 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/product/SlapOS/tests/testSlapOSMixin.py
0 → 100644
View file @
4844066e
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2012 Vifib SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
import
unittest
import
Products.Vifib.tests.VifibMixin
class
testSlapOSMixin
(
Products
.
Vifib
.
tests
.
VifibMixin
.
testVifibMixin
):
pass
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 @
4844066e
...
@@ -27,5 +27,5 @@ class VIFIB(SavedTestSuite, ProjectTestSuite):
...
@@ -27,5 +27,5 @@ class VIFIB(SavedTestSuite, ProjectTestSuite):
class
SlapOSCloud
(
SavedTestSuite
,
ProjectTestSuite
):
class
SlapOSCloud
(
SavedTestSuite
,
ProjectTestSuite
):
_product_list
=
[
'SlapOS'
]
_product_list
=
[
'SlapOS'
]
_saved_test_id
=
'Products.SlapOS.tests.SlapOSMixin.testSlapOSMixin'
_saved_test_id
=
'Products.SlapOS.tests.
test
SlapOSMixin.testSlapOSMixin'
_bt_list
=
[
'slapos_cloud'
]
_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