update test

This commit is contained in:
Wes Barnett 2021-04-15 20:14:24 -04:00
parent e8a8c6c096
commit ecd19a6705
No known key found for this signature in database
GPG key ID: 1070BCC98C18BD66

View file

@ -119,5 +119,4 @@ def test_prefile_read():
def test_no_prefile():
prefile = Prefile("foo-pre-file-not-found", "post")
with pytest.raises(FileNotFoundError):
prefile.read()
assert prefile.read() is None