Skip to content

Commit 399a917

Browse files
test: initiate app with SA file
1 parent fed4e0c commit 399a917

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
from tests.tools import initiate_app_with_service_account_file, make_auth, make_db, make_storage
1111

1212

13-
@pytest.mark.xfail
1413
def test_initiate_app_with_service_account_file():
15-
assert initiate_app_with_service_account_file()
14+
with pytest.raises(FileNotFoundError) as exc_info:
15+
initiate_app_with_service_account_file()
16+
assert "No such file or directory: 'firebase-adminsdk.json'" in str(exc_info.value)
1617

1718

1819
def test_setup_auth():

0 commit comments

Comments
 (0)