Coding style.
Using asyncio coroutines for workers instead of threads.
This commit is contained in:
parent
b2e087a9db
commit
4fa5b524d4
8 changed files with 103 additions and 101 deletions
|
|
@ -35,7 +35,7 @@ class SandboxFilesystemTestCase(unittest.TestCase):
|
|||
self.assertTrue(os.path.exists(home_directory))
|
||||
|
||||
def test_run_a_command_in_the_sandbox(self):
|
||||
stdout, stderr, returncode = self.sandbox.run_command(["pwd"])
|
||||
stdout = subprocess.check_output(self.sandbox.command(["pwd"]))
|
||||
self.assertEqual(stdout.strip().decode("utf-8"), os.environ["PWD"])
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue