Skip to content

Commit f912971

Browse files
committed
[test_validation.py] Move dir_path to setUp
1 parent e22f725 commit f912971

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_validation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class TestValidation(unittest.TestCase):
1313
def setUp(self):
1414
self.doc = samplefile.SampleFileCreator().create_document()
1515
self.maxDiff = None
16+
self.dir_path = os.path.dirname(os.path.realpath(__file__))
1617

1718
def filter_repository_errors(self, errors):
1819
return filter(lambda x: "A section should have an associated "

0 commit comments

Comments
 (0)