예제 #1
0
파일: env_test.py 프로젝트: thieman/dusty
 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()
         ]))
예제 #2
0
파일: env_test.py 프로젝트: d-ulyanov/dusty
 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()]))
예제 #3
0
파일: env_test.py 프로젝트: thieman/dusty
 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)
예제 #4
0
파일: env_test.py 프로젝트: d-ulyanov/dusty
 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)