Skip to content

Commit b0daaed

Browse files
committed
Update functional/unit test imports
1 parent 32e084e commit b0daaed

File tree

9 files changed

+16
-9
lines changed

9 files changed

+16
-9
lines changed

fmd_api/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.0-dev7"
1+
__version__ = "2.0.0-dev8"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "fmd_api"
3-
version = "2.0.0.dev7"
3+
version = "2.0.0.dev8"
44
authors = [{name = "devinslick"}]
55
description = "A Python client for the FMD (Find My Device) server API"
66
readme = "README.md"

tests/functional/test_auth.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
Usage:
44
python tests/functional/test_auth.py
55
"""
6-
from tests.utils.read_credentials import read_credentials
76
import asyncio
87
import sys
98
from pathlib import Path
109

1110
# Add repo root to path for package imports
1211
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1312

13+
from tests.utils.read_credentials import read_credentials
14+
1415

1516
async def main():
1617
creds = read_credentials()

tests/functional/test_commands.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
python tests/functional/test_commands.py ringer vibrate
2121
python tests/functional/test_commands.py locate gps
2222
"""
23-
from tests.utils.read_credentials import read_credentials
2423
import asyncio
2524
import sys
2625
from pathlib import Path
2726

2827
# Add repo root to path for package imports
2928
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
3029

30+
from tests.utils.read_credentials import read_credentials
31+
3132

3233
async def main():
3334
creds = read_credentials()

tests/functional/test_device.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
Usage:
44
python tests/functional/test_device.py
55
"""
6-
from tests.utils.read_credentials import read_credentials
76
import asyncio
87
import sys
98
from pathlib import Path
109

1110
# Add repo root to path for package imports
1211
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1312

13+
from tests.utils.read_credentials import read_credentials
14+
1415

1516
async def main():
1617
creds = read_credentials()

tests/functional/test_export.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
Usage:
44
python tests/functional/test_export.py [output.zip]
55
"""
6-
from tests.utils.read_credentials import read_credentials
76
import asyncio
87
import sys
98
from pathlib import Path
109

1110
# Add repo root to path for package imports
1211
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1312

13+
from tests.utils.read_credentials import read_credentials
14+
1415

1516
async def main():
1617
creds = read_credentials()

tests/functional/test_locations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Usage:
55
python tests/functional/test_locations.py [N]
66
"""
7-
from tests.utils.read_credentials import read_credentials
87
import asyncio
98
import json
109
import sys
@@ -13,6 +12,8 @@
1312
# Add repo root to path for package imports
1413
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1514

15+
from tests.utils.read_credentials import read_credentials
16+
1617

1718
async def main():
1819
creds = read_credentials()

tests/functional/test_pictures.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Usage:
44
python tests/functional/test_pictures.py
55
"""
6-
from tests.utils.read_credentials import read_credentials
76
import asyncio
87
import base64
98
import sys
@@ -12,6 +11,8 @@
1211
# Add repo root to path for package imports
1312
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1413

14+
from tests.utils.read_credentials import read_credentials
15+
1516

1617
async def main():
1718
creds = read_credentials()

tests/functional/test_request_location.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
provider: one of all,gps,cell,last (default: all)
66
wait_seconds: seconds to wait for the device to respond (default: 30)
77
"""
8-
from tests.utils.read_credentials import read_credentials
98
import asyncio
109
import json
1110
import sys
@@ -14,6 +13,8 @@
1413
# Add repo root to path for package imports
1514
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1615

16+
from tests.utils.read_credentials import read_credentials
17+
1718

1819
async def main():
1920
creds = read_credentials()

0 commit comments

Comments
 (0)