Commit 84d7cfb4 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

set up scaffolding for testing issue_detail_view and ProjectDetailView when gitlab times out

parent 41f19bf2
...@@ -107,4 +107,14 @@ class TestGitLabBotBasic(SimpleTestCase): ...@@ -107,4 +107,14 @@ class TestGitLabBotBasic(SimpleTestCase):
self.assertEqual(, "GitLab API call failed.") self.assertEqual(, "GitLab API call failed.")
self.assertEqual(note.attributes['id'],9999999) self.assertEqual(note.attributes['id'],9999999)
class TestGitlabTimeoutProjectDetailView(TestCase):
"""Test that ProjectDetailView displays the mock GL object
when GitLab connection times out."""
class TestGitlabTimeoutIssueDetailView(TestCase):
"""Test that the issue_detail_view displays the mock GL object
datal when GitLab connection times out."""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment