File to host graphics tests

This commit is contained in:
Kovid Goyal
2017-09-30 13:51:49 +05:30
parent 23c2bdb6f0
commit 7da08d37d2
+21
View 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)