diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-04-05 19:49:05 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-04-20 15:38:58 +0300 |
commit | a9458f526524fee8474f67b1999d49000a0e5fbf (patch) | |
tree | 39041c89a908306181bf70bb9a15c1d83a3a6608 /tests | |
parent | 0d6c780911fd2e96681834764a057985d9bf2f81 (diff) |
renamed to NextCloudPlusv0.53.29
Diffstat (limited to 'tests')
-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 6f521a7f..63a57f83 100755 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """ -Automatic testing for NextCloudPi +Automatic testing for NextCloudPlus 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("NextCloudPi", driver.title) + self.assertIn("NextCloudPlus", 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("NextCloudPi", driver.title) + self.assertIn("NextCloudPlus", driver.title) driver.get("https://" + IP + "/index.php/settings/apps") - self.assertIn("NextCloudPi", driver.title) + self.assertIn("NextCloudPlus", 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("NextCloudPi", driver.title) + self.assertIn("NextCloudPlus", 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("NextCloudPi", driver.title) + self.assertIn("NextCloudPlus", driver.title) def tearDown(self): self.driver.close() |