diff --git a/tests/test_things3_api.py b/tests/test_things3_api.py index 447518b..da67e30 100644 --- a/tests/test_things3_api.py +++ b/tests/test_things3_api.py @@ -23,11 +23,21 @@ def test_today(self): result = json.loads(self.things3_api.api("today").response[0]) self.assertEqual(4, len(result)) + def test_get_tag(self): + """Test tags.""" + result = json.loads(self.things3_api.tag("Waiting").response[0]) + self.assertEqual(3, len(result)) + def test_not_implemented(self): """Test not implemented.""" result = self.things3_api.api("not-implemented").status_code self.assertEqual(404, result) + def test_not_found(self): + """Test not found.""" + result = self.things3_api.on_get('sdf').status_code + self.assertEqual(404, result) + def test_toggle(self): """Test toggle.""" result = json.loads(self.things3_api.api("next").response[0])