mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 08:38:26 +01:00
tests
This commit is contained in:
parent
799c15342d
commit
53d81bcd26
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@ import unittest
|
|||
from pathlib import Path
|
||||
from gitinspector import basedir
|
||||
|
||||
|
||||
class TestBasedirModule(unittest.TestCase):
|
||||
|
||||
@classmethod
|
||||
|
@ -28,4 +29,4 @@ class TestBasedirModule(unittest.TestCase):
|
|||
def test_get_basedir_git_with_path(self):
|
||||
expected = str(self.PROJECT_BASEDIR)
|
||||
actual = basedir.get_basedir_git(self.TEST_BASEDIR)
|
||||
self.assertEqual(expected, actual)
|
||||
self.assertEqual(expected, actual)
|
||||
|
|
|
@ -3,6 +3,7 @@ import unittest
|
|||
from pathlib import Path
|
||||
from gitinspector import blame
|
||||
|
||||
|
||||
class TestBlameModule(unittest.TestCase):
|
||||
|
||||
@classmethod
|
||||
|
@ -21,4 +22,3 @@ class TestBlameModule(unittest.TestCase):
|
|||
self.assertEqual(expected, blame_entry.rows)
|
||||
self.assertEqual(expected, blame_entry.skew)
|
||||
self.assertEqual(expected, blame_entry.comments)
|
||||
|
||||
|
|
Loading…
Reference in a new issue