Skip to content

Commit bd7d04c

Browse files
authored
Update test.py
1 parent cd89718 commit bd7d04c

File tree

1 file changed

+3
-3
lines changed
  • .learn/exercises/07.2-finish-post-todo

1 file changed

+3
-3
lines changed

.learn/exercises/07.2-finish-post-todo/test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ 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

23-
@pytest.mark.it("app.py must exist")
23+
@pytest.mark.it("File app.py must exist")
2424
def test_pipfile_exists():
2525
assert os.path.isfile("src/app.py")
2626

@@ -101,7 +101,7 @@ def test_return(client):
101101
assert response.status_code in [200, 201]
102102

103103

104-
@pytest.mark.it("POST /todos should return json list of todos")
104+
@pytest.mark.it("POST /todos should return the json list of todos")
105105
def test_simple_add(client):
106106
response = client.post('/todos', json = { "done": True, "label": "Sample Todo 2" })
107107
assert response.status_code in [200, 201]

0 commit comments

Comments
 (0)