mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 09:19:59 +00:00
Rename test method better
This commit is contained in:
parent
ffd87f32d2
commit
64098dae49
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue