Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tests/test_fs_source.py

Issue 29968569: Issue 4014 - Publish python-abp on PyPI (Closed) Base URL: https://hg.adblockplus.org/python-abp/
Patch Set: Address comment on PS4 Created Jan. 3, 2019, 4:41 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/test_fs_source.py
===================================================================
--- a/tests/test_fs_source.py
+++ b/tests/test_fs_source.py
@@ -47,3 +47,8 @@
def test_read_missing_file(fssource):
with pytest.raises(NotFound):
list(fssource.get('foo/baz.txt'))
+
+
+def test_fssource_get_err(fssource):
+ with pytest.raises(IOError):
+ list(fssource.get(''))

Powered by Google App Engine
This is Rietveld