Commit d9f794ec authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! component/mariadb: add a test for MariaDB itself.

parent f9fc82c5
......@@ -35,21 +35,11 @@ from slapos.testing.testcase import installSoftwareUrlList, makeModuleSetUpAndTe
software_release_url = os.path.abspath(
os.path.join(os.path.dirname(__file__), '..', 'test.cfg'))
_, InstanceTestCase = makeModuleSetUpAndTestCaseClass(
setUpModule, InstanceTestCase = makeModuleSetUpAndTestCaseClass(
os.path.abspath(software_release_url))
def setUpModule():
installSoftwareUrlList(
InstanceTestCase,
[software_release_url],
debug=bool(int(os.environ.get('SLAPOS_TEST_DEBUG', 0))),
)
class TestMariaDB(InstanceTestCase):
@classmethod
def setUpClass(cls):
# We generate no instance
pass
request_instance = False
def test(self):
mariadb_path = os.path.join(
......
......@@ -87,7 +87,7 @@ setup = ${slapos-repository:location}/software/jstestnode/test/
egg = slapos.test.kvm
setup = ${slapos-repository:location}/software/kvm/test/
[slapos.test.mariadb]
[slapos.test.mariadb-setup]
<= setup-develop-egg
egg = slapos.test.mariadb
setup = ${slapos-repository:location}/component/mariadb/test/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment