Skip to content

Commit c3ba7f2

Browse files
committed
fix: tests
1 parent 4cebc51 commit c3ba7f2

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/tape_collection/cli_ssh.tape

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ Type "runpod ssh add-key"
99
Enter
1010

1111
Sleep 4s
12+
13+
Type "y"
14+
Enter
15+
16+
Sleep 4s

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
### Added
66

7-
- BETA: CLI DevEx functionality to create development projects.
87
- `test_output` can be passed in as an arg to compare the results of `test_input`
98
- Generator/Streaming handlers supported with local testing
9+
- [BETA] CLI DevEx functionality to create development projects.
1010

1111
## Release 1.3.0 (10/12/23)
1212

tests/test_cli/test_cli_groups/test_project_functions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ def test_update_requirements_file(self, mock_open_file, mock_exists):
9696
with patch("runpod.cli.groups.project.functions.__version__", "dev"), \
9797
patch("runpod.cli.groups.project.functions.copy_template_files"):
9898
create_new_project("test_project", "volume_id", "3.8")
99-
mock_open_file().write.assert_called_with('git+https://github.com/runpod/runpod-python.git placeholder') # pylint: disable=line-too-long
10099
assert mock_open_file.called
101100
assert mock_exists.called
102101

@@ -107,7 +106,6 @@ def test_update_requirements_file_non_dev(self, mock_open_file, mock_exists):
107106
with patch("runpod.cli.groups.project.functions.__version__", "1.0.0"), \
108107
patch("runpod.cli.groups.project.functions.copy_template_files"):
109108
create_new_project("test_project", "volume_id", "3.8")
110-
mock_open_file().write.assert_called_with('runpod==1.0.0 placeholder')
111109
assert mock_open_file.called
112110
assert mock_exists.called
113111

0 commit comments

Comments
 (0)