summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2015-12-31 07:02:12 +0100
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2015-12-31 07:02:12 +0100
commit2a76b7490ba3dc6de6080d2dab55be017c09db59 (patch)
tree26650bd3b5a07b773d38fe8ada3f7bf9071ce0ca /gitlab/tests/test_gitlab.py
parenta636d5ab25d2b248d89363ac86ecad7a0b90f100 (diff)
downloadgitlab-2a76b7490ba3dc6de6080d2dab55be017c09db59.tar.gz
Rename the _created attribute _from_api
Diffstat (limited to 'gitlab/tests/test_gitlab.py')
-rw-r--r--gitlab/tests/test_gitlab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/tests/test_gitlab.py b/gitlab/tests/test_gitlab.py
index 60cb94e..a0f35bb 100644
--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -337,7 +337,7 @@ class TestGitLabMethods(unittest.TestCase):
def test_delete_unknown_path(self):
obj = Project(self.gl, data={"name": "testname", "id": 1})
- obj._created = True
+ obj._from_api = True
@urlmatch(scheme="http", netloc="localhost", path="/api/v3/projects/1",
method="delete")
@@ -398,7 +398,7 @@ class TestGitLabMethods(unittest.TestCase):
obj = User(self.gl, data={"email": "email", "password": "password",
"username": "username", "name": "name",
"can_create_group": True})
- obj._created = True
+ obj._from_api = True
@urlmatch(scheme="http", netloc="localhost", path="/api/v3/projects/1",
method="delete")