mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 10:01:33 +00:00
File to host graphics tests
This commit is contained in:
parent
23c2bdb6f0
commit
7da08d37d2
1 changed files with 21 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue