mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Prepare version 1.10.0 + pep8
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
|
||||
import github.GithubObject
|
||||
|
||||
|
||||
class GitignoreTemplate(github.GithubObject.BasicGithubObject):
|
||||
@property
|
||||
def source(self):
|
||||
|
||||
@@ -106,4 +106,4 @@ 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")
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user