diff options
Diffstat (limited to 'tests/tests.py')
-rwxr-xr-x | tests/tests.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tests.py b/tests/tests.py index 63a57f83..6f521a7f 100755 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """ -Automatic testing for NextCloudPlus +Automatic testing for NextCloudPi Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com> GPL licensed (see LICENSE file in repository root). @@ -39,7 +39,7 @@ class AdminWebTest(unittest.TestCase): driver = self.driver driver.implicitly_wait(150) # first run can be really slow on QEMU driver.get("https://" + IP + "/index.php/settings/admin") - self.assertIn("NextCloudPlus", driver.title) + self.assertIn("NextCloudPi", driver.title) trusted_domain_str = "You are accessing the server from an untrusted domain" self.assertNotIn(trusted_domain_str, driver.page_source) driver.find_element_by_id("user").send_keys("ncp") @@ -84,9 +84,9 @@ class CreateUserTest(unittest.TestCase): # navigate a little bit driver.get("https://" + IP + "/index.php/settings/admin") - self.assertIn("NextCloudPlus", driver.title) + self.assertIn("NextCloudPi", driver.title) driver.get("https://" + IP + "/index.php/settings/apps") - self.assertIn("NextCloudPlus", driver.title) + self.assertIn("NextCloudPi", driver.title) def tearDown(self): self.driver.close() @@ -107,7 +107,7 @@ class LoginNewUserTest(unittest.TestCase): driver.implicitly_wait(210) # first run can be really slow on QEMU driver.get("https://" + IP) - self.assertIn("NextCloudPlus", driver.title) + self.assertIn("NextCloudPi", driver.title) driver.find_element_by_id("user").send_keys("test_user1") driver.find_element_by_id("password").send_keys("ownyourbits") driver.find_element_by_id("submit").click() @@ -119,7 +119,7 @@ class LoginNewUserTest(unittest.TestCase): # navigate a little bit driver.get("https://" + IP + "/index.php/settings/personal") - self.assertIn("NextCloudPlus", driver.title) + self.assertIn("NextCloudPi", driver.title) def tearDown(self): self.driver.close() |