Skip to content

Commit

Permalink
add unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
willforde committed Feb 19, 2018
1 parent 79ca42c commit a5f751d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 5 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
pass
from addondev import initializer
import os

# Initialize mock kodi environment
initializer(os.path.dirname(os.path.dirname(__file__)))
6 changes: 2 additions & 4 deletions tests/test_addon.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from addondev import initializer
import os

initializer(os.path.dirname(os.path.dirname(__file__)))
import unittest

# Testing specific imports
import addon


Expand Down

0 comments on commit a5f751d

Please sign in to comment.