From 06a7f0afc4db3f8ba2a6b3b521274ee45a028ef2 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Mon, 22 May 2017 12:13:55 -0700 Subject: tests: Apply workaround for snapd bug in test case. Snapd does not start on artful or on the versions in proposed. This changes the behavior of the test to confirm that snapd is installed, not that it is started, while the snap team fixes the issue (LP: ##1690880). --- tests/cloud_tests/testcases/modules/snappy.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/cloud_tests/testcases') diff --git a/tests/cloud_tests/testcases/modules/snappy.py b/tests/cloud_tests/testcases/modules/snappy.py index 3e2f5924..b92271c1 100644 --- a/tests/cloud_tests/testcases/modules/snappy.py +++ b/tests/cloud_tests/testcases/modules/snappy.py @@ -9,10 +9,7 @@ class TestSnappy(base.CloudTestCase): def test_snappy_version(self): """Test snappy version output""" - out = self.get_data_file('snap_version') - self.assertIn('snap ', out) - self.assertIn('snapd ', out) - self.assertIn('series ', out) - self.assertIn('ubuntu ', out) + out = self.get_data_file('snapd') + self.assertIn('Status: install ok installed', out) # vi: ts=4 expandtab -- cgit v1.2.3