File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
.learn/exercises/07.2-finish-post-todo Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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" )
2020def 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" )
2424def 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" )
105105def test_simple_add (client ):
106106 response = client .post ('/todos' , json = { "done" : True , "label" : "Sample Todo 2" })
107107 assert response .status_code in [200 , 201 ]
You can’t perform that action at this time.
0 commit comments