cc6a13ed3cb8743ba38d6c5e2af1ff4e788472c0,tests/command/test_train_command.py,TrainCommand,test_no_config_error,#TrainCommand#,20

Before Change


                                         .build()

    def test_no_config_error(self):
        tmp = RVConfig.get_tmp_dir()
        try:
            rv.command.TrainCommandConfig.builder() \
                                         .with_task("") \
                                         .with_root_uri(tmp) \
                                         .with_backend("") \
                                         .build()
        except rv.ConfigError:
            self.fail("rv.ConfigError raised unexpectedly")

After Change



    def test_no_config_error(self):
        try:
            with RVConfig.get_tmp_dir() as tmp_dir:
                rv.command.TrainCommandConfig.builder() \
                                             .with_task("") \
                                             .with_root_uri(tmp_dir) \
                                             .with_backend("") \
                                             .build()
        except rv.ConfigError:
            self.fail("rv.ConfigError raised unexpectedly")

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 7

Instances


Project Name: azavea/raster-vision
Commit Name: cc6a13ed3cb8743ba38d6c5e2af1ff4e788472c0
Time: 2018-10-17
Author: jmcclain@azavea.com
File Name: tests/command/test_train_command.py
Class Name: TrainCommand
Method Name: test_no_config_error


Project Name: azavea/raster-vision
Commit Name: cc6a13ed3cb8743ba38d6c5e2af1ff4e788472c0
Time: 2018-10-17
Author: jmcclain@azavea.com
File Name: tests/command/test_analyze_command_config.py
Class Name: TestAnalyzeCommand
Method Name: test_no_config_error


Project Name: azavea/raster-vision
Commit Name: cc6a13ed3cb8743ba38d6c5e2af1ff4e788472c0
Time: 2018-10-17
Author: jmcclain@azavea.com
File Name: tests/command/test_eval_command.py
Class Name: TestEvalCommand
Method Name: test_no_config_error


Project Name: azavea/raster-vision
Commit Name: cc6a13ed3cb8743ba38d6c5e2af1ff4e788472c0
Time: 2018-10-17
Author: jmcclain@azavea.com
File Name: tests/command/test_predict_command.py
Class Name: PredictCommand
Method Name: test_no_config_error


Project Name: azavea/raster-vision
Commit Name: cc6a13ed3cb8743ba38d6c5e2af1ff4e788472c0
Time: 2018-10-17
Author: jmcclain@azavea.com
File Name: tests/command/test_chip_command_config.py
Class Name: TestChipCommand
Method Name: test_no_config_error