Skip to content

Commit 69b201f

Browse files
committed
add missing src/ prefix from docker commands, fix TEST_SERVER host and port
TEST_SERVER was still set to the staging server used in the previous editions of the book
1 parent 1d02fe8 commit 69b201f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chapter_09_docker.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ Let's see what our FTs think about this Docker version of our site.
900900
[role="small-code"]
901901
[subs="specialcharacters,macros"]
902902
----
903-
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test functional_tests \
903+
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test src/functional_tests \
904904
--failfast*]
905905
[...]
906906
selenium.common.exceptions.WebDriverException: Message: Reached error page:
@@ -1226,7 +1226,7 @@ Let's see what our functional tests say:
12261226
[role="small-code"]
12271227
[subs="specialcharacters,macros"]
12281228
----
1229-
$ pass:quotes[*TEST_SERVER=superlists-staging.ottg.eu:8000 ./manage.py test functional_tests \
1229+
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test src/functional_tests \
12301230
--failfast*]
12311231
[...]
12321232
E
@@ -1317,7 +1317,7 @@ If we try our FTs again, they all pass!
13171317
[role="small-code"]
13181318
[subs="specialcharacters,macros"]
13191319
----
1320-
$ pass:quotes[*TEST_SERVER=superlists-staging.ottg.eu:8000 ./manage.py test functional_tests \
1320+
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test src/functional_tests \
13211321
--failfast*]
13221322
Found 3 test(s).
13231323
Creating test database for alias 'default'...
@@ -1389,7 +1389,7 @@ And we check the FTs again.
13891389
[role="small-code"]
13901390
[subs="specialcharacters,macros"]
13911391
----
1392-
$ pass:quotes[*TEST_SERVER=superlists-staging.ottg.eu:8000 ./manage.py test functional_tests \
1392+
$ pass:quotes[*TEST_SERVER=localhost:8888 ./src/manage.py test src/functional_tests \
13931393
--failfast*]
13941394
Found 3 test(s).
13951395
Creating test database for alias 'default'...

0 commit comments

Comments
 (0)