Commit 4be761cc authored by Boxiang Sun's avatar Boxiang Sun

peertube: test improvement

parent c3a9002a
#!${dash-output:dash}
# setup db # setup db
die() { die() {
......
...@@ -35,17 +35,7 @@ setUpModule, SlapOSInstanceTestCase = makeModuleSetUpAndTestCaseClass( ...@@ -35,17 +35,7 @@ setUpModule, SlapOSInstanceTestCase = makeModuleSetUpAndTestCaseClass(
os.path.join(os.path.dirname(__file__), '..', 'software.cfg'))) os.path.join(os.path.dirname(__file__), '..', 'software.cfg')))
class PeertubeTestCase(SlapOSInstanceTestCase): class TestPeerTube(SlapOSInstanceTestCase):
# to be defined by subclasses
name = None
kind = None
@classmethod
def getInstanceParameterDict(cls):
return {"name": cls.name}
class TestPeerTube(PeertubeTestCase):
def setUp(self): def setUp(self):
self.connection_parameters = self.computer_partition.getConnectionParameterDict() self.connection_parameters = self.computer_partition.getConnectionParameterDict()
......
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