예제 #1
0
 def test_get_file_error__process(self):
     self.assertIsInstance(get_file_error('process', 'test'), ProcessError)
예제 #2
0
 def test_get_file_error__reporting(self):
     self.assertIsInstance(get_file_error('reporting', 'test'), ReportingError)
예제 #3
0
 def test_get_file_error__oed(self):
     self.assertIsInstance(get_file_error('oed', 'test'), OedError)
예제 #4
0
 def test_get_file_error__command(self):
     self.assertIsInstance(get_file_error('command', 'test'), CommandError)
예제 #5
0
 def test_get_file_error__non_oed_schema(self):
     self.assertIsInstance(get_file_error('non oed schema', 'test'), NonOedSchemaError)
예제 #6
0
 def test_get_file_error__null_data_in_non_null_column(self):
     self.assertIsInstance(get_file_error('null data in non null column', 'test'), NullDataInNonNullColumnError)
예제 #7
0
 def test_get_file_error__non_oed_data(self):
     self.assertIsInstance(get_file_error('non oed data', 'test'), NonOedDataError)
예제 #8
0
 def test_get_file_error__non_oed_schema_and_column(self):
     self.assertIsInstance(get_file_error('non oed schema and column', 'test'), NonOedSchemaAndColumnError)
예제 #9
0
 def test_get_file_error__non_oed_column(self):
     self.assertIsInstance(get_file_error('non oed column', 'test'), NonOedColumnError)
예제 #10
0
 def test_get_file_error__missing_required_column(self):
     self.assertIsInstance(get_file_error('missing required column', 'test'), MissingRequiredColumnError)
예제 #11
0
 def test_get_file_error__invalid_data_type(self):
     self.assertIsInstance(get_file_error('invalid data type', 'test'), InvalidDataTypeError)
예제 #12
0
 def test_get_file_error__empty_file(self):
     self.assertIsInstance(get_file_error('empty file', 'test'), EmptyFileError)
예제 #13
0
 def test_get_file_error__data_out_of_range(self):
     self.assertIsInstance(get_file_error('data out of range', 'test'), DataOutOfRangeError)