We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d1b9c commit 5c7c563Copy full SHA for 5c7c563
.github/workflows/ci.yml
@@ -51,11 +51,8 @@ jobs:
51
- name: Linter
52
run: |
53
uv run poe lint
54
- - name: Tests
+ - name: Quick import test
55
env:
56
DROPBOX_CREDENTIALS_FOR_CI: ${{ secrets.DROPBOX_CREDENTIALS_FOR_CI }}
57
if: ${{needs.secrets.outputs.valid}} == 'true'
58
- run: |
59
- if python --version | grep -q 'Python 3.13' ; then
60
- uv run poe test
61
- fi
+ run: uv run pytest -k test_Import || exit 1
tests/test_dropboxfs.py
@@ -26,6 +26,11 @@ def test_list_root():
26
fs = FullFS()
27
assert fs.listdir('/') == fs.listdir('')
28
29
+def test_Import():
30
+ # quick test that we can import the package
31
+ from datetime import UTC
32
+ _ = FullFS()
33
+
34
class PyFsCompatLayer:
35
"""PyFilesystem2 Python 3.12 compatibility layer.
36
0 commit comments