Пример #1
0
 def start_test_env():
     cli_call([
         "docker-compose", "-f",
         os.path.join(os.path.dirname(__file__),
                      "../fixtures/chaincode/docker-compose.yml"), "up",
         "-d"
     ])
Пример #2
0
 def shutdown_test_env(self):
     cli_call(["docker-compose", "-f", self.compose_file_path, "down"])
Пример #3
0
 def start_test_env(self):
     cli_call(["docker-compose", "-f", self.compose_file_path, "up", "-d"])
Пример #4
0
 def shutdown_test_env():
     cli_call([
         "docker-compose", "-f",
         os.path.join(os.path.dirname(__file__),
                      "../fixtures/ca/docker-compose.yml"), "down"
     ])
Пример #5
0
 def shutdown_test_env():
     cli_call(["docker-compose", "-f",
               os.path.join(os.path.dirname(__file__),
                            "../fixtures/ca/docker-compose.yml"),
               "down"])
Пример #6
0
 def start_test_env():
     cli_call(["docker-compose", "-f",
               os.path.join(os.path.dirname(__file__),
                            "../fixtures/chaincode/docker-compose.yml"),
               "up", "-d"])