Skip to content

Commit e971207

Browse files
authored
Update test.py
1 parent 8e88253 commit e971207

File tree

1 file changed

+2
-2
lines changed
  • .learn/exercises/03.3-your-first-route

1 file changed

+2
-2
lines changed

.learn/exercises/03.3-your-first-route/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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")
2020
def 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")
4141
def test_declare_variable3():
4242
path = 'src/app.py'
4343
with open(path, 'r') as content_file:

0 commit comments

Comments
 (0)