Still working on file handlers... JsonWriter (#2)

This commit is contained in:
Romain Dorgueil
2016-12-28 11:14:37 +01:00
parent 2b8216ec0d
commit 2527a1b85b
4 changed files with 43 additions and 38 deletions

View File

@ -20,7 +20,7 @@ def test_write_json_to_file(tmpdir):
]'''
with pytest.raises(AttributeError):
getattr(context, 'fp')
getattr(context, 'file')
with pytest.raises(AttributeError):
getattr(context, 'first')