mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
More tests
This commit is contained in:
parent
6bf75a4177
commit
8bbac5717f
1 changed files with 0 additions and 12 deletions
|
@ -19,18 +19,6 @@ class TestConfig(unittest.TestCase):
|
|||
actual_result = test_config.__read_git_config__('unknown')
|
||||
self.assertEqual(expected_result, actual_result)
|
||||
|
||||
def test_read_git_config(self):
|
||||
expected_result = '1'
|
||||
test_config = config.GitConfig('arbitrary', '.')
|
||||
actual_result = test_config.__read_git_config__('arbitrary')
|
||||
self.assertEqual(expected_result, actual_result)
|
||||
|
||||
def test_read_git_config_string(self):
|
||||
expected_result = (True, '1')
|
||||
test_config = config.GitConfig('arbitrary', '.')
|
||||
actual_result = test_config.__read_git_config_string__('arbitrary')
|
||||
self.assertEqual(expected_result, actual_result)
|
||||
|
||||
def test_read_git_config_string_unknown(self):
|
||||
expected_result = (False, None)
|
||||
test_config = config.GitConfig('arbitrary', '.')
|
||||
|
|
Loading…
Reference in a new issue