tests/tools/test_application.py
changeset 1826 91796f408540
parent 1822 1d7bf584eb7f
child 1832 0f1081928d65
equal deleted inserted replaced
1825:bcb50e736a46 1826:91796f408540
    20 #
    20 #
    21 # You should have received a copy of the GNU General Public License
    21 # You should have received a copy of the GNU General Public License
    22 # along with this program; if not, write to the Free Software
    22 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
       
    25 
       
    26 from __future__ import print_function
    25 import os
    27 import os
    26 import sys
    28 import sys
    27 import unittest
    29 import unittest
    28 import pytest
    30 import pytest
    29 import wx
    31 import wx
   175         """
   177         """
   176         Checks that test PLC project can be open,
   178         Checks that test PLC project can be open,
   177         compiled and run on SoftPLC.
   179         compiled and run on SoftPLC.
   178         """
   180         """
   179         project = self.GetProjectPath(name)
   181         project = self.GetProjectPath(name)
   180         print "Testing example " + name
   182         print("Testing example " + name)
   181         self.CheckTestProject(project)
   183         self.CheckTestProject(project)
   182 
   184 
   183 
   185 
   184 class PLCOpenEditorApplicationTest(BeremizApplicationTest):
   186 class PLCOpenEditorApplicationTest(BeremizApplicationTest):
   185     """Test PLCOpenEditor as whole application"""
   187     """Test PLCOpenEditor as whole application"""