File to host graphics tests
This commit is contained in:
parent
23c2bdb6f0
commit
7da08d37d2
21
kitty_tests/graphics.py
Normal file
21
kitty_tests/graphics.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# vim:fileencoding=utf-8
|
||||||
|
# License: GPL v3 Copyright: 2016, Kovid Goyal <kovid at kovidgoyal.net>
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
from . import BaseTest
|
||||||
|
|
||||||
|
|
||||||
|
def img_path(name):
|
||||||
|
base = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
return os.path.join(base, name)
|
||||||
|
|
||||||
|
|
||||||
|
class TestGraphics(BaseTest):
|
||||||
|
|
||||||
|
def test_load_images(self):
|
||||||
|
s = self.create_screen()
|
||||||
|
c = s.callbacks
|
||||||
|
g = s.grman
|
||||||
|
print(g)
|
||||||
Loading…
x
Reference in New Issue
Block a user