summaryrefslogtreecommitdiff
path: root/tests/unit/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/helpers.py')
-rw-r--r--tests/unit/helpers.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/helpers.py b/tests/unit/helpers.py
index bcf967e..1093728 100644
--- a/tests/unit/helpers.py
+++ b/tests/unit/helpers.py
@@ -15,6 +15,15 @@ class FakeObject(base.RESTObject):
pass
+class FakeObjectWithoutId(base.RESTObject):
+ _id_attr = None
+
+
+class FakeObjectWithLongRepr(base.RESTObject):
+ _id_attr = None
+ _repr_attr = "test"
+
+
class OtherFakeObject(FakeObject):
_id_attr = "foo"