Ejemplo n.º 1
0
    def test_Aspi_R_clean_Aspi_R_case_0(self):

        input_filename = "input/Case_Aspi_R_0.txt"

        path = main.findpath(input_filename)
        self.assertEqual(6, len(path.split()))
        self.assertTrue(main.checkpath(input_filename, path))
        self.assertFalse(main.checkpath(input_filename, 'BN BE BS RS BW'))

        print(" CASE 0: {}".format(path))
Ejemplo n.º 2
0
    def test_Aspi_R_clean_Aspi_R_case_7(self):

        input_filename = "input/Case_Aspi_R_7.txt"

        path = main.findpath(input_filename)
        self.assertEqual(14, len(path.split()))
        self.assertTrue(main.checkpath(input_filename, path))

        print(" CASE 7: {}".format(path))