Skip to content

Commit 08eb4de

Browse files
authored
Merge pull request #232 from Paperspace/PS-12860-Fix_project_url
Fix URL of new project
2 parents a7769bf + 51fbe24 commit 08eb4de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradient/commands/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def execute(self, project_dict):
3636
self.logger.log(self.get_instance_url(project_id))
3737

3838
def get_instance_url(self, project_id):
39-
url = urljoin(config.WEB_URL, "console/projects/{}/machines".format(project_id))
39+
url = urljoin(config.WEB_URL, "console/projects/{}".format(project_id))
4040
return url
4141

4242

tests/functional/test_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class TestCreateProject(object):
202202
UPDATE_TAGS_RESPONSE_JSON_200 = example_responses.UPDATE_TAGS_RESPONSE
203203

204204
EXPECTED_STDOUT = "Project created with ID: pru5a4dnu\n" \
205-
"https://www.paperspace.com/console/projects/pru5a4dnu/machines\n"
205+
"https://www.paperspace.com/console/projects/pru5a4dnu\n"
206206

207207
EXPECTED_RESPONSE_JSON_WITH_ERROR = {
208208
"error": {

0 commit comments

Comments
 (0)