~canonical-platform-qa/ubuntu-system-tests/temp_config_files

« back to all changes in this revision

Viewing changes to ubuntu_system_tests/selftests/test_config.py

  • Committer: Sergio Cazzolato
  • Date: 2015-08-23 03:21:30 UTC
  • Revision ID: sergio.cazzolato@canonical.com-20150823032130-zhld1d13yvovw3l7
Fixing unit tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
from ubuntu_system_tests.helpers.autopilot import override_proxy_timeout
34
34
 
35
35
 
36
 
class HelpersTestCase(selftests.ConfigBaseTestCase):
 
36
class HelpersTest7Case(selftests.ConfigBaseTestCase):
37
37
 
38
38
    def get_mock_proxy(self):
39
39
        """Returns a rubbish proxy object that doesn't actually do anything."""
112
112
class UbuntuSystemTestsStackTestCase(selftests.ConfigBaseTestCase):
113
113
 
114
114
    def test_store_location(self):
115
 
        config_stack = config.UbuntuSystemTestsStack()
 
115
        config_stack = config.UbuntuSystemTestsStack('tests.conf')
116
116
 
117
117
        expected_config_path = os.path.join(
118
 
            os.environ.get('HOME'), '.config', 'ubuntu-system-tests.conf')
 
118
            os.environ.get('HOME'), '.config', 'tests.conf')
119
119
        self.assertEqual(expected_config_path, config_stack.store.path)
120
120
 
121
121
    def test_get_autopilot_config_string(self):