624f4de100ca7b9967bf1c1ee14132992982a990,tests/generate_packageTest.py,MainTest,MainTest_1,#,88

Before Change



    CSS_BEAR_SETUP_PATH = os.path.join(
        "bears", "upload", "CSSLintBear", "setup.py")
    NO_BEAR_PATH = os.path.join("bears", "BadBear", "InvalidBear.py")

    def setUp(self):
        self.argv = ["generate_package.py"]
        argv_patcher = patch.object(sys, "argv", self.argv)

After Change



class MainTest(unittest.TestCase):

    BEARS_PATH = os.path.abspath(os.path.join(
        os.path.dirname(__file__), "..", "bears"))
    BEARS_UPLOAD_PATH = os.path.join(BEARS_PATH, "upload")
    CSS_BEAR_SETUP_PATH = os.path.join(
        BEARS_UPLOAD_PATH, "CSSLintBear", "setup.py")
    NO_BEAR_PATH = os.path.join(BEARS_PATH,
                                "BadBear", "InvalidBear.py")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: coala/coala-bears
Commit Name: 624f4de100ca7b9967bf1c1ee14132992982a990
Time: 2017-04-20
Author: jayvdb@gmail.com
File Name: tests/generate_packageTest.py
Class Name: MainTest
Method Name: MainTest_1


Project Name: CyberReboot/NetworkML
Commit Name: fb1ec3126774d4823d1bb2a95d7bcb0c134f7264
Time: 2020-04-19
Author: josh@vandervecken.com
File Name: tests/test_csv_to_features.py
Class Name:
Method Name: test_CSVToFeatures


Project Name: Esri/raster-functions
Commit Name: 164b392ce45a1baa7523212c451fa3d20cb06450
Time: 2015-05-21
Author: akferoz@esri.com
File Name: setup.py
Class Name:
Method Name: main