Skip to content

Commit dffa387

Browse files
committed
fix(q10): Rename test scripts to avoid pytest discovery
- Rename test_q10_*.py to run_q10_*.py to prevent pytest from treating them as unit tests - These are interactive scripts, not automated tests - Update README with new script names - Fixes pytest failures in CI
1 parent 48f30d3 commit dffa387

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

examples/Q10/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains test scripts for the Q10 VacuumTrait functionality added
44

55
## Scripts
66

7-
### test_q10_simple.py
7+
### run_q10_simple.py
88
Interactive test script with detailed debug information. This script:
99
- Shows comprehensive device information
1010
- Lists all available property APIs
@@ -16,10 +16,10 @@ Interactive test script with detailed debug information. This script:
1616
- You need to debug connection or API issues
1717
- You want detailed information about what's happening
1818

19-
### test_q10_vacuum.py
19+
### run_q10_vacuum.py
2020
Basic test script for Q10 vacuum commands. A simpler version focused on testing the vacuum trait.
2121

22-
### test_q10_advanced.py (NEW!)
22+
### run_q10_advanced.py (NEW!)
2323
Advanced test suite with complex features and detailed diagnostics:
2424
- Tests multiple cleaning modes (standard, area, fast map)
2525
- Device status monitoring and diagnostics
@@ -47,13 +47,13 @@ pip install -e .
4747
2. Run a test script:
4848
```bash
4949
# Simple script with debugging
50-
python examples/Q10/test_q10_simple.py
50+
python examples/Q10/run_q10_simple.py
5151

5252
# Basic script (minimal output)
53-
python examples/Q10/test_q10_vacuum.py
53+
python examples/Q10/run_q10_vacuum.py
5454

5555
# Advanced script with diagnostics
56-
python examples/Q10/test_q10_advanced.py
56+
python examples/Q10/run_q10_advanced.py
5757
```
5858

5959
3. On first run, you'll be prompted to log in:
@@ -66,7 +66,7 @@ python examples/Q10/test_q10_advanced.py
6666

6767
#### test_q10_simple.py
6868
```bash
69-
$ python examples/Q10/test_q10_simple.py
69+
$ python examples/Q10/run_q10_simple.py
7070
📱 Found 1 device(s)
7171
Device 1: Roborock Q10 S5+
7272
✅ Using device: Roborock Q10 S5+
@@ -78,7 +78,7 @@ Device 1: Roborock Q10 S5+
7878

7979
#### test_q10_vacuum.py
8080
```bash
81-
$ python examples/Q10/test_q10_vacuum.py
81+
$ python examples/Q10/run_q10_vacuum.py
8282
📱 Found 1 device(s)
8383
1. Roborock Q10 S5+ (roborock.vacuum.ss07)
8484
✅ Using device: Roborock Q10 S5+
@@ -88,7 +88,7 @@ $ python examples/Q10/test_q10_vacuum.py
8888

8989
#### test_q10_advanced.py
9090
```bash
91-
$ python examples/Q10/test_q10_advanced.py
91+
$ python examples/Q10/run_q10_advanced.py
9292
[Main Menu]
9393
1. Run basic commands test
9494
2. Test advanced features

0 commit comments

Comments
 (0)