We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a33c1 commit 9b3cba3Copy full SHA for 9b3cba3
1 file changed
tests/test_schema.py
@@ -68,3 +68,15 @@ def test_storage_fails_for_invalid_default_storage():
68
},
69
default="files",
70
)
71
+
72
73
+def test_storage_fails_for_invalid_driver_option():
74
+ with pytest.raises(ValueError, match="Driver Options must have a `key` option"):
75
+ StorageSetup(
76
+ storages={
77
+ "cloud": {
78
+ "driver": get_driver(Provider.GOOGLE_STORAGE),
79
+ "options": {"secret": "key_secret"},
80
+ }
81
+ },
82
+ )
0 commit comments