(self)
| 52 | self.assertEqual(n, 2) |
| 53 | |
| 54 | def testGetFileContents(self): |
| 55 | contents = self.repo.get_contents("js/bootstrap-affix.js") |
| 56 | self.assertEqual(contents.encoding, "base64") |
| 57 | self.assertEqual( |
| 58 | contents.url, |
| 59 | "https://api.github.com/repos/twitter/bootstrap/contents/js/bootstrap-affix.js", |
| 60 | ) |
| 61 | self.assertEqual(len(contents.content), 4722) |
| 62 | |
| 63 | def testGetDirContentsWithRef(self): |
| 64 | self.assertEqual( |
nothing calls this directly
no test coverage detected