3d71f7f5e9f9bf4b0a390e601842ed8060209ed7,tests/unit/test_cli.py,,,#,140
Before Change
assert "firefox:\n shippable" in "".join(output)
DEFAULTS_DATE = [
("linux", 64, datetime.date(2009, 1, 1)),
("linux", 32, datetime.date(2009, 1, 1)),
("mac", 64, datetime.date(2009, 1, 1)),
("win", 32, datetime.date(2009, 1, 1)),
("win", 64, datetime.date(2010, 5, 28)),
]
@pytest.mark.parametrize("os,bits,default_good_date", DEFAULTS_DATE)
def test_no_args(os, bits, default_good_date):
After Change
TODAY = datetime.date.today()
SOME_DATE = TODAY + datetime.timedelta(days=-20)
SOME_OLDER_DATE = TODAY + datetime.timedelta(days=-10)
@pytest.mark.parametrize(
"params,good,bad",
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: mozilla/mozregression
Commit Name: 3d71f7f5e9f9bf4b0a390e601842ed8060209ed7
Time: 2020-08-20
Author: wlachance@mozilla.com
File Name: tests/unit/test_cli.py
Class Name:
Method Name:
Project Name: home-assistant/home-assistant
Commit Name: 35f0270688d2bd1e31e45ebbc1771f1ff940bff6
Time: 2015-07-16
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/sun.py
Class Name: Sun
Method Name: update_as_of
Project Name: mozilla/mozregression
Commit Name: 3d71f7f5e9f9bf4b0a390e601842ed8060209ed7
Time: 2020-08-20
Author: wlachance@mozilla.com
File Name: mozregression/cli.py
Class Name:
Method Name: get_default_date_range
Project Name: quiltdata/quilt
Commit Name: 555a08b64c6f03d544b33adb87187ad16c4e511a
Time: 2019-10-24
Author: dima@quiltdata.io
File Name: lambdas/access_counts/index.py
Class Name:
Method Name: handler