aswi2022bug-thugs-gitlab/client/tests/detector/test_usb_detector_set_config.py @ 715c565f
1 |
from client.src.usb_detector import detector |
---|---|
2 |
|
3 |
|
4 |
def test_usb_detector_set_config_1(): |
5 |
assert None is detector._config |
6 |
|
7 |
|
8 |
def test_usb_detector_set_config_2(): |
9 |
class Config: |
10 |
pass
|
11 |
|
12 |
config = Config() |
13 |
detector.usb_detector_set_config(config) |
14 |
assert config is detector._config |
- « Předchozí
- 1
- …
- 4
- 5
- 6
- Další »