Skip to content

Commit e4cdd62

Browse files
authored
Update test.py
1 parent a7c6cc4 commit e4cdd62

File tree

1 file changed

+4
-4
lines changed
  • .learn/exercises/08-delete-todo

1 file changed

+4
-4
lines changed

.learn/exercises/08-delete-todo/test.py

Lines changed: 4 additions & 4 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

@@ -63,7 +63,7 @@ def test_labels_string():
6363
if "label" in task:
6464
assert isinstance(task["label"], str)
6565

66-
@pytest.mark.it('The value of the "done" key on each todo should be boolean')
66+
@pytest.mark.it('The value of the "done" key on each todo should be a boolean')
6767
def test_done_bool():
6868
from src import app
6969
for task in app.todos:
@@ -158,4 +158,4 @@ def test_delete():
158158
@pytest.mark.it("The endpoint 'DELETE /todos' should exist")
159159
def test_return(client):
160160
response = client.delete('/todos/1')
161-
assert response.status_code == 200
161+
assert response.status_code == 200

0 commit comments

Comments
 (0)