File to host graphics tests

This commit is contained in:
Kovid Goyal 2017-09-28 09:33:53 +05:30
parent 23c2bdb6f0
commit 7da08d37d2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

21
kitty_tests/graphics.py Normal file
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)