summaryrefslogtreecommitdiff
path: root/gitlab/tests
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-05-23 21:11:17 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-05-23 21:11:24 +0200
commite853a30b0c083fa835513a82816b315cf147092c (patch)
tree5fde97d15437f9cb9a8c4ce286d58f9113061009 /gitlab/tests
parentf3738854f0d010bade44edc60404dbab984d2adb (diff)
downloadgitlab-e853a30b0c083fa835513a82816b315cf147092c.tar.gz
Reorganise the code to handle v3 and v4 objects
Having objects managing both versions will only make the code more complicated, with lots of tests everywhere. This solution might generate some code duplication, but it should be maintainable.
Diffstat (limited to 'gitlab/tests')
-rw-r--r--gitlab/tests/test_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/tests/test_manager.py b/gitlab/tests/test_manager.py
index 16e13f2..4f4dbe1 100644
--- a/gitlab/tests/test_manager.py
+++ b/gitlab/tests/test_manager.py
@@ -25,7 +25,7 @@ from httmock import response # noqa
from httmock import urlmatch # noqa
from gitlab import * # noqa
-from gitlab.objects import BaseManager # noqa
+from gitlab.v3.objects import BaseManager # noqa
class FakeChildObject(GitlabObject):