Skip to content

Commit 2218e2c

Browse files
committed
switched requirements
1 parent 0c6e74a commit 2218e2c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Thumbs.db
1010

1111
# Test reports
1212
unittests.xml
13+
.pytest_cache
1314

1415
# database files
1516
db/*

lab/test_counter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
Requirements for the counter service
55
- The API must be RESTful.
66
- The endpoint must be called `/counters`.
7-
- The data returned should be this {"name":"some_name", "counter":0}
87
- When creating a counter, you must specify the name in the path.
8+
- The data returned should be this {"name":"some_name", "counter":0}
99
- Duplicate names must return a 409 conflict error code.
1010
- The service must be able to update a counter by name.
1111
- The service must be able to get a counter's current value.

0 commit comments

Comments
 (0)