(self)
| 122 | |
| 123 | class TestScanFiles: |
| 124 | def test_audio_volume_muted(self): |
| 125 | name = "audio-volume-muted.*" |
| 126 | dfiles = utils.scan_files(DATA_DIR, name) |
| 127 | result = dfiles[name] |
| 128 | assert len(result) == 2 |
| 129 | png = os.path.join(DATA_DIR, "png", "audio-volume-muted.png") |
| 130 | assert png in result |
| 131 | svg = os.path.join(DATA_DIR, "svg", "audio-volume-muted.svg") |
| 132 | assert svg in result |
| 133 | |
| 134 | def test_only_svg(self): |
| 135 | name = "audio-volume-muted.svg" |