Skip to content

Commit 85cb8ab

Browse files
committed
Comment
1 parent 8a1deb8 commit 85cb8ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_compile_to_code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ def run_around_tests():
1515
# Code that will run after your test, for example:
1616
shutil.rmtree(temp_dir)
1717

18+
1819
def test_compile_to_code():
1920
code = compile_to_code({
2021
'properties': {
2122
'a': {'type': 'string'},
2223
'b': {'type': 'integer'},
23-
'c': {'format': 'hostname'},
24+
'c': {'format': 'hostname'}, # Test generation of regex patterns to the file.
2425
}
2526
})
2627
with open('temp/schema_1.py', 'w') as f:

0 commit comments

Comments
 (0)