Exemplo n.º 1
0
 def assertEnvListed(self, app_or_service, variable, value):
     env.list_all()
     print self.last_client_output.splitlines()
     self.assertTrue(
         any([
             app_or_service in line and variable in line and value in line
             for line in self.last_client_output.splitlines()
         ]))
Exemplo n.º 2
0
 def assertEnvListed(self, app_or_service, variable, value):
     env.list_all()
     print self.last_client_output.splitlines()
     self.assertTrue(any([app_or_service in line and variable in line and value in line
         for line in self.last_client_output.splitlines()]))
Exemplo n.º 3
0
 def assertEnvNotListed(self, app_or_service, variable):
     env.list_all()
     for line in self.last_client_output.splitlines():
         self.assertFalse(app_or_service in line and variable in line)
Exemplo n.º 4
0
 def assertEnvNotListed(self, app_or_service, variable):
     env.list_all()
     for line in self.last_client_output.splitlines():
         self.assertFalse(app_or_service in line and variable in line)