mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-19 10:16:47 +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…
x
Reference in New Issue
Block a user