Add basic tests, wip

This commit is contained in:
Zed
2019-06-28 04:56:02 +02:00
parent 7107c79334
commit 8fac54ac8c
5 changed files with 199 additions and 1 deletions

10
tests/test_search.py Normal file
View File

@@ -0,0 +1,10 @@
from base import BaseTestCase
class TestSearch(BaseTestCase):
def test_username_search(self):
self.search_username('mobile_test')
self.assert_text('@mobile_test')
self.search_username('mobile_test_2')
self.assert_text('@mobile_test_2')