mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
15 lines
414 B
Python
15 lines
414 B
Python
import pytest
|
|
|
|
from beeref.fileio.export import (
|
|
exporter_registry,
|
|
SceneToPixmapExporter,
|
|
SceneToSVGExporter,
|
|
)
|
|
|
|
|
|
@pytest.mark.parametrize('key,expected',
|
|
[('png', SceneToPixmapExporter),
|
|
('jpg', SceneToPixmapExporter),
|
|
('svg', SceneToSVGExporter)])
|
|
def test_registry(key, expected):
|
|
exporter_registry[key] == expected
|