| skipped 73 lines |
74 | 74 | | |
75 | 75 | | self.assertTrue(os.path.isfile(filename), "file " + filename + "exists") |
76 | 76 | | |
| 77 | + | def test_print_cow(self): |
| 78 | + | """ test the cow """ |
| 79 | + | print_cow() |
| 80 | + | |
| 81 | + | def test_alectodb_download(self): |
| 82 | + | |
| 83 | + | alectodb_download() |
| 84 | + | |
| 85 | + | self.assertTrue( |
| 86 | + | os.path.isfile("alectodb-usernames.txt"), |
| 87 | + | "file alectodb-usernames.txt exists", |
| 88 | + | ) |
| 89 | + | self.assertTrue( |
| 90 | + | os.path.isfile("alectodb-passwords.txt"), |
| 91 | + | "file alectodb-passwords.txt exists", |
| 92 | + | ) |
| 93 | + | |
77 | 94 | | |
78 | 95 | | if __name__ == "__main__": |
79 | 96 | | unittest.main() |
| skipped 1 lines |