summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 3b54936..79a78bc 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -467,6 +467,9 @@ fork = admin_project.forks.create({'namespace': user1.username})
p = gl.projects.get(fork.id)
assert(p.forked_from_project['id'] == admin_project.id)
+forks = admin_project.forks.list()
+assert(fork.id in map(lambda p: p.id, forks))
+
# project hooks
hook = admin_project.hooks.create({'url': 'http://hook.url'})
assert(len(admin_project.hooks.list()) == 1)