Skip to content

Commit 4eea79b

Browse files
[remote-control] Fix error in verification process of T2L3/remote-control (#172)
# Exercise Review ## Exercise Discussion Fix #170 ## Checklist - [ ] If you require a new remote repository on the `Git-Mastery` organization, have you [created a request](https://github.com/git-mastery/exercises/issues/new?template=request_exercise_repository.md) for it? - [x] Have you written unit tests using [`repo-smith`](https://github.com/git-mastery/repo-smith) to validate the exercise grading scheme? - [x] Have you tested the download script using `test-download.sh`? - [x] Have you verified that this exercise does not already exist or is not currently in review? - [ ] Did you introduce a new grading mechanism that should belong to [`git-autograder`](https://github.com/git-mastery/git-autograder)? - [ ] Did you introduce a new dependency that should belong to [`app`](https://github.com/git-mastery/app)?
1 parent e576795 commit 4eea79b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

remote_control/verify.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ def verify(exercise: GitAutograderExercise) -> GitAutograderOutput:
5353

5454
print(f"Create a repo called gitmastery-{username}-remote-control")
5555
url = input("Enter the url of your remote repository: ")
56-
if not url.startswith(
57-
f"https://github.com/{username}/gitmastery-{username}-remote-control"
58-
):
56+
if not url.strip() == f"https://github.com/{username}/gitmastery-{username}-remote-control":
5957
raise exercise.wrong_answer(["That is not the right Github url!"])
6058

6159
if has_public_repo(username):

0 commit comments

Comments
 (0)