summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlabobject.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-02-05 22:11:31 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2016-02-05 22:11:31 +0100
commitd2e30da81cafcff4295b067425b2d03e3fdf2556 (patch)
tree102862654e3d92f9578fad5b56cce32461a30ca7 /gitlab/tests/test_gitlabobject.py
parent8aa8d8cd054710e79d45c71c86eaf4358a152d7c (diff)
downloadgitlab-d2e30da81cafcff4295b067425b2d03e3fdf2556.tar.gz
Add some unit tests for CLI
Reorganize the cli.py code to ease the testing.
Diffstat (limited to 'gitlab/tests/test_gitlabobject.py')
-rw-r--r--gitlab/tests/test_gitlabobject.py4
1 files changed, 0 insertions, 4 deletions
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()