Skip to content

Commit 96cd094

Browse files
committed
Rename learn repo to match the new name
1 parent 34b8fa8 commit 96cd094

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

bot_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ async def test_help(doof):
10301030
@pytest.mark.parametrize("has_checkboxes", [True, False])
10311031
async def test_wait_for_checkboxes(
10321032
mocker, doof, sleep_sync_mock, test_repo, has_checkboxes, mock_labels
1033-
): # pylint: disable=unused-argument
1033+
): # pylint: disable=unused-argument,too-many-positional-arguments
10341034
"""wait_for_checkboxes should poll github, parse checkboxes and see if all are checked"""
10351035
org, repo = get_org_and_repo(test_repo.repo_url)
10361036
channel_id = test_repo.channel_id
@@ -1386,7 +1386,7 @@ async def test_start_new_releases(
13861386
expected_version,
13871387
has_release_pr,
13881388
has_new_commits,
1389-
):
1389+
): # pylint: disable=too-many-positional-arguments
13901390
"""start new releases command should iterate through releases and start ones without an existing PR"""
13911391
old_version = "1.2.3"
13921392
default_branch = "default"

repos_info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"name": "mit-learn",
38-
"repo_url": "https://github.com/mitodl/mit-open.git",
38+
"repo_url": "https://github.com/mitodl/mit-learn.git",
3939
"ci_hash_url": "https://api.ci.learn.mit.edu/static/hash.txt",
4040
"rc_hash_url": "https://api.rc.learn.mit.edu/static/hash.txt",
4141
"prod_hash_url": "https://api.learn.mit.edu/static/hash.txt",

status_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async def test_status_for_repo_last_pr(
9696
is_open,
9797
labels,
9898
expected,
99-
): # pylint: disable=too-many-arguments
99+
): # pylint: disable=too-many-arguments,too-many-positional-arguments
100100
"""status_for_repo_last_pr should get the status for the most recent PR for a project"""
101101
release_pr = (
102102
ReleasePR("1.2.3", "http://example.com", "body", 12, is_open)
@@ -126,7 +126,7 @@ async def test_status_for_repo_last_pr(
126126
@pytest.mark.parametrize("has_commits", [True, False])
127127
@pytest.mark.parametrize("has_release_pr", [True, False])
128128
@pytest.mark.parametrize("is_open", [True, False])
129-
async def test_status_for_repo_new_commits( # pylint: disable=too-many-arguments
129+
async def test_status_for_repo_new_commits( # pylint: disable=too-many-arguments,too-many-positional-arguments
130130
mocker, test_repo, test_repo_directory, has_commits, has_release_pr, is_open
131131
):
132132
"""status_for_repo_new_commits should check if there are new commits"""

version_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ async def test_update_version_file(readonly):
322322
assert f.readline().strip() == old_version if readonly else new_version
323323

324324

325-
# pylint: disable=too-many-arguments
325+
# pylint: disable=too-many-arguments,too-many-positional-arguments
326326
@pytest.mark.parametrize("readonly", [True, False])
327327
@pytest.mark.parametrize(
328328
"versioning_strategy, expected_python, expected_js, expected_version_file",

web_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async def fake_event(*args, **kwargs): # pylint: disable=unused-argument
129129
)
130130

131131

132-
# pylint: disable=too-many-arguments
132+
# pylint: disable=too-many-arguments,too-many-positional-arguments
133133
@pytest.mark.parametrize(
134134
"secret, timestamp, signature, body, expected",
135135
[

0 commit comments

Comments
 (0)