Debian Codegraph @

tests/unit/shader/conftest.py

raw symbols SCIP
1 from pytest import fixture
2
3 @fixture(autouse=True)
4 def monkeypatch_default_graphics_shader(monkeypatch, get_dummy_shader_program):
5 """Use a dummy shader when testing non-drawing functionality"""
6 monkeypatch.setattr('pyglet.graphics.get_default_shader', get_dummy_shader_program)