-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtest.py
More file actions
33 lines (24 loc) · 722 Bytes
/
test.py
File metadata and controls
33 lines (24 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from __future__ import print_function
import os, sys
import vanilla
try:
reload(vanilla)
except NameError:
# the built-in 'reload' was moved to importlib with Python 3.4
from importlib import reload
reload(vanilla)
from vanilla.py23 import range
from vanilla import *
from main import *
import objc
objc.setVerbose(True)
vanillaPath = os.path.realpath(vanilla.__file__)
vanillaPath = os.path.dirname(os.path.dirname(os.path.dirname(vanillaPath)))
class Test(object):
def __init__(self):
Unicron()
def openTestCallback(self, sender):
title = sender.getTitle()
if __name__ == "__main__":
from vanilla.test.testTools import executeVanillaTest
executeVanillaTest(Test)