Skip to content

Commit 2402fe7

Browse files
committed
fix skip
1 parent c1b202a commit 2402fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_chapter_18_spiking_custom_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
import os
23
import unittest
34

45
from book_tester import ChapterTest
@@ -29,8 +30,7 @@ def test_listings_and_commands_and_output(self):
2930
self.prep_database()
3031

3132
# hack fast-forward
32-
skip = True
33-
if skip:
33+
if os.environ.get("SKIP"):
3434
self.pos = 38
3535
self.sourcetree.run_command(
3636
"git checkout {}".format(self.sourcetree.get_commit_spec("ch18l020"))

0 commit comments

Comments
 (0)