Delete test_io.py

This commit is contained in:
TheShadowOfHassen 2023-04-01 17:32:02 -04:00
parent c2828a03b9
commit dbfafbdf06

View file

@ -1,24 +0,0 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# I put this here because otherwise I couldn't run it.
# I also added some tests and had to modify this to get it to run -- ShadowOfHassen
import os
import sys
# gi
import gi
gi.require_version('GdkPixbuf', '2.0')
from gi.repository import GdkPixbuf
realpath = os.path.realpath(__file__)
LOGO_FILE = 'icons/Manuskript/manuskript.svg'
#sys.path.insert(1, os.path.join(os.path.dirname(realpath), '..'))
from manuskript.ui import MainWindow
window = MainWindow("sample-projects/book-of-acts" + ".msk")
# Let's make this a bit fancier
window.window.set_icon(GdkPixbuf.Pixbuf.new_from_file(LOGO_FILE))
window.run()