Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit 9c3ceae

Browse files
lmazueltroydai
authored andcommitted
Tight config test
1 parent a6c1c1a commit 9c3ceae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/azure_devtools/scenario_tests/tests/test_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def tearDown(self):
2929
def test_env_var(self):
3030
with mock.patch.dict('os.environ', {ENV_LIVE_TEST: 'yes'}):
3131
config = TestConfig()
32-
self.assertTrue(config.record_mode)
32+
self.assertIs(config.record_mode, True)
3333

3434
def test_config_file(self):
3535
config = TestConfig(config_file=self.cfgfile)
36-
self.assertTrue(config.record_mode)
36+
self.assertIs(config.record_mode, True)

0 commit comments

Comments
 (0)