1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 14:19:59 +00:00

Rename test method better

This commit is contained in:
Nathan Yam 2017-06-07 23:39:02 +10:00 committed by Kfir Hadas
parent ffd87f32d2
commit 64098dae49

View file

@ -17,7 +17,7 @@ class NyaaTestCase(unittest.TestCase):
os.close(self.db) os.close(self.db)
os.unlink(nyaa.app.config['DATABASE']) os.unlink(nyaa.app.config['DATABASE'])
def test_empty_db(self): def test_index_url(self):
rv = self.app.get('/') rv = self.app.get('/')
assert b'Browse :: Nyaa' in rv.data assert b'Browse :: Nyaa' in rv.data
assert b'Guest' in rv.data assert b'Guest' in rv.data