We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6e74a commit 2218e2cCopy full SHA for 2218e2c
.gitignore
@@ -10,6 +10,7 @@ Thumbs.db
10
11
# Test reports
12
unittests.xml
13
+.pytest_cache
14
15
# database files
16
db/*
lab/test_counter.py
@@ -4,8 +4,8 @@
4
Requirements for the counter service
5
- The API must be RESTful.
6
- The endpoint must be called `/counters`.
7
-- The data returned should be this {"name":"some_name", "counter":0}
8
- When creating a counter, you must specify the name in the path.
+- The data returned should be this {"name":"some_name", "counter":0}
9
- Duplicate names must return a 409 conflict error code.
- The service must be able to update a counter by name.
- The service must be able to get a counter's current value.
0 commit comments