summaryrefslogtreecommitdiff
path: root/test/test_remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_remote.py')
-rw-r--r--test/test_remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_remote.py b/test/test_remote.py
index 108712a5..af6915a3 100644
--- a/test/test_remote.py
+++ b/test/test_remote.py
@@ -208,7 +208,7 @@ class TestRemote(TestBase):
assert tinfo.flags & tinfo.NEW_TAG
# adjust tag commit
- Reference._set_object(rtag, rhead.commit.parents[0].parents[0])
+ Reference.set_object(rtag, rhead.commit.parents[0].parents[0])
res = fetch_and_test(remote, tags=True)
tinfo = res[str(rtag)]
assert tinfo.commit == rtag.commit