From 7da08d37d259bfbeca85d0bcf88bb54db21a3c39 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 28 Sep 2017 09:33:53 +0530 Subject: [PATCH] File to host graphics tests --- kitty_tests/graphics.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 kitty_tests/graphics.py diff --git a/kitty_tests/graphics.py b/kitty_tests/graphics.py new file mode 100644 index 000000000..f10e7ce88 --- /dev/null +++ b/kitty_tests/graphics.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python +# vim:fileencoding=utf-8 +# License: GPL v3 Copyright: 2016, Kovid Goyal + +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)