Skip to content

Commit

Permalink
#75 fixed pattern documentation path location management
Browse files Browse the repository at this point in the history
  • Loading branch information
hkir-dev committed Jul 6, 2021
1 parent 9d4a79a commit 7a7aaba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/schema/test/generic_test/document_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def test_is_schema(self):
def test_pattern_interface_single_param(self):
document.generate_pattern_documentation(os.path.join(os.path.dirname(os.path.realpath(__file__)),
"../positive_test_set/patterns/data/acute.yaml"))
self.assertTrue(os.path.exists(os.path.join(os.getcwd(), "./acute.md")))
self.assertTrue(os.path.exists(os.path.join(os.path.dirname(os.path.realpath(__file__)),
"../positive_test_set/patterns/data/acute.md")))

def test_pattern_interface_two_param(self):
document.generate_pattern_documentation(os.path.join(os.path.dirname(os.path.realpath(__file__)),
Expand Down

0 comments on commit 7a7aaba

Please sign in to comment.