Exemple #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()
         ]))
Exemple #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()]))
Exemple #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)
Exemple #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)