Skip to content

Commit a6fa6a6

Browse files
author
Roberto De Ioris
committed
added test plugin
1 parent f5d2741 commit a6fa6a6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/test_plugin.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import unittest
2+
import unreal_engine as ue
3+
4+
class TestPlugin(unittest.TestCase):
5+
6+
def test_find(self):
7+
uep = ue.find_plugin('UnrealEnginePython')
8+
self.assertEqual(uep.get_name(), 'UnrealEnginePython')
9+
10+
def test_enabled(self):
11+
uep = ue.find_plugin('UnrealEnginePython')
12+
self.assertTrue(uep.is_enabled)
13+
14+
15+
16+

0 commit comments

Comments
 (0)