def test_scenario1(self): """ Scenario: Successfully creating a Fields object: Given I create a data source uploading a "<data>" file And I wait until the source is ready less than <time_1> secs And I create a Fields object from the source with objective column "<objective_column>" Then the object id is "<objective_id>" Examples: | data | time_1 | objective_column | objective_id | | ../data/iris.csv | 10 | 0 | 000000 | """ print self.test_scenario1.__doc__ examples = [['data/iris.csv', '10', '0', '000000']] for example in examples: print "\nTesting with:\n", example source_create.i_upload_a_file(self, example[0]) source_create.the_source_is_finished(self, example[1]) fields_steps.create_fields(self, example[2]) fields_steps.check_objective(self, example[3])
def test_scenario1(self): """ Scenario: Successfully creating a Fields object: Given I create a data source uploading a "<data>" file And I wait until the source is ready less than <time_1> secs And I create a Fields object from the source with objective column "<objective_column>" Then the object id is "<objective_id>" Examples: | data | time_1 | objective_column | objective_id | | ../data/iris.csv | 10 | 0 | 000000 | """ print self.test_scenario1.__doc__ examples = [["data/iris.csv", "10", "0", "000000"]] for example in examples: print "\nTesting with:\n", example source_create.i_upload_a_file(self, example[0]) source_create.the_source_is_finished(self, example[1]) fields_steps.create_fields(self, example[2]) fields_steps.check_objective(self, example[3])