def test_read_dependencies_return_empty_when_file_doesnt_exist(self):
     expected = {}
     fake_dependencies_file = 'fake_dependencies_file'
     # TODO: Mock open?
     actual = service_configuration_lib.read_smartstack(
         fake_dependencies_file)
     T.assert_equal(expected, actual)
예제 #2
0
 def test_read_smartstack_should_return_empty_when_file_doesnt_exist(self):
     expected = {}
     fake_smartstack_file = 'fake_smartstack_file'
     # TODO: Mock open?
     actual = service_configuration_lib.read_smartstack(
         fake_smartstack_file, )
     assert expected == actual