File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.learn/exercises/03.3-your-first-route Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def client():
1616 os .close (db_fd )
1717 os .unlink (app .config ['DATABASE' ])
1818
19- @pytest .mark .it ("folder src must exist" )
19+ @pytest .mark .it ("folder / src must exist" )
2020def test_src_folder ():
2121 assert os .path .isdir ("./src/" )
2222
@@ -37,7 +37,7 @@ def test_declare_variable2():
3737 regex = re .compile (r"@app\.route(\s*)\((\s*)'\/[a-zA-Z0-9]+'(\s*),(\s*)methods=(\s*)\[(\s*)'GET'(\s*)\](\s*)\)" )
3838 assert bool (regex .search (content )) == True
3939
40- @pytest .mark .it ("Make sure '/hello ' is the route your specified inside the @app.route decorator" )
40+ @pytest .mark .it ("Make sure '/todos ' is the route you specified inside the @app.route decorator" )
4141def test_declare_variable3 ():
4242 path = 'src/app.py'
4343 with open (path , 'r' ) as content_file :
You can’t perform that action at this time.
0 commit comments