Commit 08c8c71d authored by Jérome Perrin's avatar Jérome Perrin

software/nextcloud/test: update test for python 3

parent 418d2284
......@@ -272,7 +272,7 @@ class TestServices(NextCloudTestCase):
news_config_file = os.path.join(self.partition_dir, 'srv/data/news/config/config.ini')
with open(news_config_file) as f:
config = f.read()
self.assertRegexpMatches(config, r"(useCronUpdates\s+=\s+false)")
self.assertRegex(config, r"(useCronUpdates\s+=\s+false)")
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