Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 1619334

Browse files
Adjust name
1 parent ee33049 commit 1619334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

upload/tests/test_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ def test_validate_upload_too_many_uploads_for_commit(
259259

260260
def test_deactivated_repo(db, mocker):
261261
repository = RepositoryFactory.create(active=True, activated=False)
262-
/config/general = f"{settings.CODECOV_DASHBOARD_URL}/{repository.author.service}/{repository.author.username}/{repository.name}/config/general"
262+
config_url = f"{settings.CODECOV_DASHBOARD_URL}/{repository.author.service}/{repository.author.username}/{repository.name}/config/general"
263263

264264
with pytest.raises(ValidationError) as exp:
265265
validate_activated_repo(repository)
266266
assert exp.match(
267-
f"This repository is deactivated. To resume uploading to it, please activate the repository in the codecov UI: {/config/general}"
267+
f"This repository is deactivated. To resume uploading to it, please activate the repository in the codecov UI: {config_url}"
268268
)
269269

270270

0 commit comments

Comments
 (0)