def test_single_split_returns_a_tuple(self):
    folder_name = 'datasets'
    file_name = 'diabetes.csv'
    test_full_path = ((('.\\..\\' + folder_name) + '\\') + file_name)
    csv_type = self._loader_creator.create_loader(test_full_path, 'CSV')
    df = csv_type.get_file_transformed()
    splitter = SplitterReturner()
    data = splitter.split_x_y_from_df(df)
    result = DataEnsurer.validate_py_data(data, tuple)
    self.assertTrue(result)
def test_single_split_returns_a_tuple(self):
    folder_name = 'datasets'
    file_name = 'diabetes.csv'
    test_full_path = ((('.\\..\\' + folder_name) + '\\') + file_name)
    csv_type = self._loader_creator.create_loader(test_full_path, 'CSV')
    df = csv_type.get_file_transformed()
    splitter = SplitterReturner()
    data = splitter.split_x_y_from_df(df)
    result = DataEnsurer.validate_py_data(data, tuple)
    self.assertTrue(result)