Skip to content

Commit

Permalink
test for environment using local copies of imports
Browse files Browse the repository at this point in the history
  • Loading branch information
acutesoftware committed Aug 18, 2017
1 parent e8d02c6 commit 72a4cbc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/test_environment.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
#!/usr/bin/python3
# coding: utf-8
# test_environment.py

import os
import sys
import unittest
import aikif.environments.environment as mod_env

root_folder = os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + os.sep + ".." )
pth = root_folder + os.sep + 'aikif' + os.sep + 'environments'
sys.path.append(pth)

import environment as mod_env

class TestEnvironment(unittest.TestCase):

Expand Down

0 comments on commit 72a4cbc

Please sign in to comment.