From d2e30da81cafcff4295b067425b2d03e3fdf2556 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Fri, 5 Feb 2016 22:11:31 +0100 Subject: Add some unit tests for CLI Reorganize the cli.py code to ease the testing. --- gitlab/tests/test_gitlabobject.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gitlab/tests/test_gitlabobject.py') diff --git a/gitlab/tests/test_gitlabobject.py b/gitlab/tests/test_gitlabobject.py index e001a8c..aea80ca 100644 --- a/gitlab/tests/test_gitlabobject.py +++ b/gitlab/tests/test_gitlabobject.py @@ -492,7 +492,3 @@ class TestProjectSnippet(unittest.TestCase): def test_blob_fail(self): with HTTMock(self.resp_content_fail): self.assertRaises(GitlabGetError, self.obj.Content) - - -if __name__ == "__main__": - main() -- cgit v1.2.1