We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3308f5b commit 3bb9844Copy full SHA for 3bb9844
1 file changed
tests/test_loaders.py
@@ -27,3 +27,11 @@ def test_csv_loader_with_custom_delimiter(self):
27
def test_csv_loader_with_empty_file(self):
28
data = csv(f'{self.path}/empty.csv')
29
self.assertEqual(len(data), 0)
30
+
31
+ def test_csv_loader_with_invalid_path(self):
32
+ with self.assertRaises(FileNotFoundError):
33
+ csv(f'{self.path}/invalid.csv')
34
35
+ def test_csv_loader_with_non_absolute_path(self):
36
+ with self.assertRaises(ValueError):
37
+ csv('invalid.csv')
0 commit comments