tests/tools/test_application.py
changeset 1850 614396cbffbf
parent 1847 6198190bc121
child 1881 091005ec69c4
equal deleted inserted replaced
1849:6811021e3d94 1850:614396cbffbf
    26 from __future__ import print_function
    26 from __future__ import print_function
    27 import os
    27 import os
    28 import sys
    28 import sys
    29 import unittest
    29 import unittest
    30 import time
    30 import time
    31 import traceback
       
    32 
    31 
    33 import pytest
    32 import pytest
    34 import wx
    33 import wx
    35 import ddt
    34 import ddt
    36 
    35 
   220         project_dir = BeremizApplicationTest.GetProjectPath(self, project)
   219         project_dir = BeremizApplicationTest.GetProjectPath(self, project)
   221         return os.path.join(project_dir, "plc.xml")
   220         return os.path.join(project_dir, "plc.xml")
   222 
   221 
   223 
   222 
   224 if __name__ == '__main__':
   223 if __name__ == '__main__':
       
   224     conftest.init_environment()
   225     unittest.main()
   225     unittest.main()