0babf039135c8581134afc13f7fe477699f97faf,Orange/tests/test_xlsx_reader.py,TestExcelHeader0,test_read,#TestExcelHeader0#,12

Before Change


        table.dataset_dirs.append("Orange/xlsx_files")

    def test_read(self):
        table = io.ExcelReader().read_file("xlsx_files/header_0.xlsx")
        domain = table.domain
        self.assertEqual(len(domain.class_vars), 0)
        self.assertIsNone(domain.class_var)
        self.assertEqual(len(domain.metas), 0)

After Change



class TestExcelHeader0(unittest.TestCase):
    def test_read(self):
        table = read_file("header_0.xlsx")
        domain = table.domain
        self.assertEqual(len(domain.class_vars), 0)
        self.assertIsNone(domain.class_var)
        self.assertEqual(len(domain.metas), 0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: biolab/orange3
Commit Name: 0babf039135c8581134afc13f7fe477699f97faf
Time: 2015-02-09
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/tests/test_xlsx_reader.py
Class Name: TestExcelHeader0
Method Name: test_read


Project Name: biolab/orange3
Commit Name: 0babf039135c8581134afc13f7fe477699f97faf
Time: 2015-02-09
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/tests/test_xlsx_reader.py
Class Name: TestExcelHeader1
Method Name: test_no_flags


Project Name: biolab/orange3
Commit Name: 0babf039135c8581134afc13f7fe477699f97faf
Time: 2015-02-09
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/tests/test_xlsx_reader.py
Class Name: TestExcelHeader3
Method Name: test_read


Project Name: biolab/orange3
Commit Name: 0babf039135c8581134afc13f7fe477699f97faf
Time: 2015-02-09
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/tests/test_xlsx_reader.py
Class Name: TestExcelHeader1
Method Name: test_flags