Commit 003750f9 authored by Jérome Perrin's avatar Jérome Perrin

software/nextcloud/test: update test for python3

parent e6a93f20
...@@ -272,7 +272,7 @@ class TestServices(NextCloudTestCase): ...@@ -272,7 +272,7 @@ class TestServices(NextCloudTestCase):
news_config_file = os.path.join(self.partition_dir, 'srv/data/news/config/config.ini') news_config_file = os.path.join(self.partition_dir, 'srv/data/news/config/config.ini')
with open(news_config_file) as f: with open(news_config_file) as f:
config = f.read() config = f.read()
self.assertRegexpMatches(config, r"(useCronUpdates\s+=\s+false)") self.assertRegex(config, r"(useCronUpdates\s+=\s+false)")
class TestNextCloudParameters(NextCloudTestCase): class TestNextCloudParameters(NextCloudTestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment