Example #1
0
 def test_info(self):
     """ the the ability of the server to return
         information about the service.
     """
     runtime = KappaRuntime(self.endpoint)
     info = runtime.info()
     self.assertIsNotNone('sessions' in info)
     self.assertEqual(info['sessions'], 0)
     self.assertIsNotNone('processes' in info)
     self.assertEqual(info['processes'], 0)
     self.assertIsNotNone('build' in info)
Example #2
0
 def test_info(self):
     """ the the ability of the server to return
         information about the service.
     """
     runtime = KappaRuntime(self.endpoint)
     info = runtime.info()
     self.assertIsNotNone('environment_simulations' in info)
     self.assertEqual(info['environment_simulations'], 0)
     self.assertIsNotNone('environment_projects' in info)
     self.assertEqual(info['environment_projects'], 0)
     self.assertIsNotNone('environment_build' in info)