Skip to content

Commit 814404c

Browse files
committed
tidyup test
1 parent 79f21aa commit 814404c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/test_chapter_09_docker.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,9 @@ def test_listings_and_commands_and_output(self):
3131
self.sourcetree.run_command("./manage.py migrate --noinput")
3232
self.sourcetree.run_command("./manage.py collectstatic --noinput")
3333

34-
# vm_restore = None # 'MANUAL_1'
35-
3634
# hack fast-forward
3735
self.skip_forward_if_skipto_set()
3836

39-
# if DO_SERVER_COMMANDS:
40-
# if vm_restore:
41-
# subprocess.check_call(["vagrant", "snapshot", "restore", vm_restore])
42-
# else:
43-
# subprocess.check_call(["vagrant", "destroy", "-f"])
44-
# subprocess.check_call(["vagrant", "up"])
4537

4638
while self.pos < len(self.listings):
4739
listing = self.listings[self.pos]
@@ -50,9 +42,6 @@ def test_listings_and_commands_and_output(self):
5042

5143
self.assert_all_listings_checked(self.listings)
5244
self.check_final_diff()
53-
# if DO_SERVER_COMMANDS:
54-
# subprocess.run(["vagrant", "snapshot", "delete", "MANUAL_END"])
55-
# subprocess.run(["vagrant", "snapshot", "save", "MANUAL_END"], check=True)
5645

5746

5847
if __name__ == "__main__":

0 commit comments

Comments
 (0)