Slightly improve coverage :-D

This commit is contained in:
Vincent Jacques
2013-03-28 21:05:19 +01:00
parent dc96fef052
commit b9d71fa787
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -17,6 +17,7 @@ import datetime
import Framework
import github
class Github(Framework.TestCase):
def testGetGists(self):
@@ -107,3 +108,6 @@ class Github(Framework.TestCase):
t = self.g.get_gitignore_template("C++")
self.assertEqual(t.name, "C++")
self.assertEqual(t.source, "# Compiled Object files\n*.slo\n*.lo\n*.o\n\n# Compiled Dynamic libraries\n*.so\n*.dylib\n\n# Compiled Static libraries\n*.lai\n*.la\n*.a\n")
def testStringOfNotSet(self):
self.assertEqual(str(github.GithubObject.NotSet), "NotSet")