Time tracking you can host anywhere, built on Django. Full export support in multiple formats and easily extensible.
djangodockerhandcodedpythonself-hostedtime-trackingtimetracker
1from . import SeleniumTestCase
2
3
4class LoginTestCase(SeleniumTestCase):
5 def test_logout_success(self):
6 self.logIn()
7
8 nav_user_logout = self.find("nav-user-logout")
9
10 nav_user_logout.click()
11
12 self.find("registration")
13
14 def test_login_error(self):
15 self.driver.get("%s%s" % (self.live_server_url, "/login/"))
16
17 input_username = self.find("input-username")
18 input_password = self.find("input-password")
19 button_submit = self.find("button-submit")
20
21 input_username.send_keys("admin")
22 input_password.send_keys("wrong")
23 button_submit.click()
24
25 self.find("registration")