Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-05-27 22:33:03 +0300
committernachoparker <nacho@ownyourbits.com>2018-05-28 12:32:13 +0300
commita070860a58440326861583958d7186cc568eef48 (patch)
tree3ad3dab8a66238a53cde38d0e57f2bac7a87e090 /tests
parent003c29c016b1b6223425662212a0c76b4ccee829 (diff)
re-rename to NCPiv0.56.14
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests.py12
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()