def test_databaseExitIfownerNameIsEmpty_assertFalse(self): huge_str = '' for i in range(150): huge_str += '#' db = SqliteDB() with self.assertRaises(SystemExit): db.add_dependency("Some_repo", "v0.0.2", "e45d87", huge_str)
def test_databaseExitIfownerNameIsEmpty_assertFalse(self): db = SqliteDB() with self.assertRaises(SystemExit): db.add_dependency("Some_repo", "v0.0.2", "e45d87", "")