cc3248161ee7e41ec405dd98c99c0dd930e8ad2c,tests/unit/test_test_runner.py,TestManualTestRunner,test_inbound_create_launcher,#TestManualTestRunner#Any#Any#,38

Before Change


    def test_inbound_create_launcher(self, create_launcher, download):
        launcher = Mock()
        create_launcher.return_value = launcher
        result_launcher = self.runner.create_launcher({
            "build_type": "inbound",
            "timestamp": "123",
            "revision": "12345678",
            "build_url": "http://my-url",
            "repo": "my-branch",
            "app_name": "firefox",
            "build_path": "/path/to",
        })
        create_launcher.assert_called_with("firefox",
                                           "/path/to")
        self.assertEqual(result_launcher, launcher)

After Change


    def test_inbound_create_launcher(self, create_launcher, download):
        launcher = Mock()
        create_launcher.return_value = launcher
        result_launcher = self.runner.create_launcher(mockinfo(
            build_type="inbound",
            app_name="firefox",
            build_file="/path/to"
        ))
        create_launcher.assert_called_with("firefox",
                                           "/path/to")
        self.assertEqual(result_launcher, launcher)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: mozilla/mozregression
Commit Name: cc3248161ee7e41ec405dd98c99c0dd930e8ad2c
Time: 2015-08-24
Author: j.parkouss@gmail.com
File Name: tests/unit/test_test_runner.py
Class Name: TestManualTestRunner
Method Name: test_inbound_create_launcher


Project Name: mozilla/mozregression
Commit Name: cc3248161ee7e41ec405dd98c99c0dd930e8ad2c
Time: 2015-08-24
Author: j.parkouss@gmail.com
File Name: tests/unit/test_test_runner.py
Class Name: TestManualTestRunner
Method Name: test_evaluate


Project Name: mozilla/mozregression
Commit Name: cc3248161ee7e41ec405dd98c99c0dd930e8ad2c
Time: 2015-08-24
Author: j.parkouss@gmail.com
File Name: tests/unit/test_test_runner.py
Class Name: TestManualTestRunner
Method Name: test_evaluate_with_launcher_error_on_stop


Project Name: mozilla/mozregression
Commit Name: cc3248161ee7e41ec405dd98c99c0dd930e8ad2c
Time: 2015-08-24
Author: j.parkouss@gmail.com
File Name: tests/unit/test_test_runner.py
Class Name: TestManualTestRunner
Method Name: test_nightly_create_launcher