Skip to content

Commit d48db7b

Browse files
committed
Passed joker_info test
1 parent 91a44ca commit d48db7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test_bat_functions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import pytest
22
from bat_functions import *
3+
import bat_functions
34
from unittest.mock import patch
45

56
@pytest.mark.bat_power
@@ -44,6 +45,6 @@ def test_known_or_unknown_vehicle(bat_vehicles_dict):
4445
@pytest.mark.joker_info
4546
def test_fetch_joker_info():
4647
with patch("bat_functions.fetch_joker_info", return_value={'mischief_level': 50, 'location': 'Gotham City Hall'}):
47-
info = fetch_joker_info()
48+
info = bat_functions.fetch_joker_info()
4849
assert info['mischief_level'] == 50
4950
assert info['location'] == 'Gotham City Hall'

0 commit comments

Comments
 (0)