示例#1
0
    def test_tsv_same_data(self, temp_csv_test1: CsvFile, tsv_test1: CsvFile):
        temp_csv_test1.set_data(tsv_test1.get_data())
        temp_csv_test1.write_file()
        temp_csv_test1.read_file()

        assert temp_csv_test1.get_data() == tsv_test1.get_data()
示例#2
0
    def test_runs(self, temp_csv_test1: CsvFile, csv_test1: CsvFile):
        temp_csv_test1.set_data(csv_test1.get_data())
        temp_csv_test1.write_file()
        temp_csv_test1.read_file()

        assert temp_csv_test1.get_data() == csv_test1.get_data()