Commit 7399017d authored by Jérome Perrin's avatar Jérome Perrin

wip

parent 994f3d30
......@@ -36,17 +36,19 @@ from slapos.testing.testcase import makeModuleSetUpAndTestCaseClass
setUpModule, SlapOSInstanceTestCase = makeModuleSetUpAndTestCaseClass(
os.path.abspath(
os.path.join(os.path.dirname(__file__), '..', 'software.cfg')))
os.path.join(os.path.dirname(__file__), '..', '..', 'seleniumrunner', 'software.cfg')))
class TestGitlab(SlapOSInstanceTestCase):
__partition_reference__ = 'G' # solve path too long for postgresql and unicorn
instance_max_retry = 20
@classmethod
def getInstanceSoftwareType(cls):
return 'gitlab-test'
def setUp(self):
import pdb; pdb.set_trace()
self.backend_url = self.computer_partition.getConnectionParameterDict(
)['backend_url']
......@@ -54,3 +56,4 @@ class TestGitlab(SlapOSInstanceTestCase):
resp = requests.get(self.backend_url, verify=False)
self.assertTrue(
resp.status_code in [requests.codes.ok, requests.codes.found])
import pdb; pdb.set_trace()
\ No newline at end of file
......@@ -81,6 +81,7 @@ class TestTheia(SlapOSInstanceTestCase):
self.assertTrue(resp.raw)
def test_theia_slapos(self):
import pdb; pdb.set_trace()
# Make sure we can use the shell and the integrated slapos command
process = pexpect.spawnu(
'{}/bin/theia-shell'.format(self.computer_partition_root_path),
......
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