Skip to content

Commit 144dce9

Browse files
committed
fix paths to manage.py and functional tests
1 parent edf7dc3 commit 144dce9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

chapter_10_production_readiness.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ but the test for layout + styling fails. Good job, tests!
143143
[role="small-code"]
144144
[subs="specialcharacters,macros"]
145145
----
146-
$ pass:quotes[*TEST_SERVER=localhost:8888 python manage.py test functional_tests*]
146+
$ pass:quotes[*TEST_SERVER=localhost:8888 python src/manage.py test src/functional_tests*]
147147
[...]
148148
AssertionError: 102.5 != 512 within 10 delta (409.5 difference)
149149
FAILED (failures=1)
@@ -210,7 +210,7 @@ Let's rerun our FTs to confirm:
210210
[role="small-code"]
211211
[subs="specialcharacters,macros"]
212212
----
213-
$ pass:quotes[*TEST_SERVER=localhost:8888 python manage.py test functional_tests --failfast*]
213+
$ pass:quotes[*TEST_SERVER=localhost:8888 python src/manage.py test src/functional_tests --failfast*]
214214
[...]
215215
216216
...
@@ -364,7 +364,7 @@ With that running, we can use our FT again to see if we're back to a working sta
364364
[role="small-code"]
365365
[subs="specialcharacters,macros"]
366366
----
367-
$ pass:quotes[*TEST_SERVER=localhost:8888 ./manage.py test functional_tests --failfast*]
367+
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test src/functional_tests --failfast*]
368368
[...]
369369
AssertionError: 'To-Do' not found in 'Bad Request (400)'
370370
----
@@ -454,7 +454,7 @@ in our static files.
454454
[role="small-code"]
455455
[subs="specialcharacters,macros"]
456456
----
457-
$ pass:quotes[*TEST_SERVER=localhost:8888 python manage.py test functional_tests*]
457+
$ pass:quotes[*TEST_SERVER=localhost:8888 python src/manage.py test src/functional_tests*]
458458
[...]
459459
AssertionError: 102.5 != 512 within 10 delta (409.5 difference)
460460
FAILED (failures=1)
@@ -488,7 +488,7 @@ Well, it was fiddly, but that should get us to passing tests!
488488
[role="small-code"]
489489
[subs="specialcharacters,macros"]
490490
----
491-
$ pass:quotes[*TEST_SERVER=localhost:8888 python manage.py test functional_tests*]
491+
$ pass:quotes[*TEST_SERVER=localhost:8888 python src/manage.py test src/functional_tests*]
492492
[...]
493493
OK
494494
----
@@ -532,7 +532,7 @@ Now if you run the tests, you'll see they fail;
532532
[role="small-code"]
533533
[subs="specialcharacters,macros"]
534534
----
535-
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test functional_tests --failfast*]
535+
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test src/functional_tests --failfast*]
536536
[...]
537537
538538
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate

0 commit comments

Comments
 (0)