Skip to content

Commit e3c564f

Browse files
committed
updated the test
1 parent 35b0ca9 commit e3c564f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

lib_test.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,21 @@ async def test_load_repos_info(mocker):
211211
"packaging_tool": "none",
212212
"versioning_strategy": FILE_VERSION,
213213
},
214+
{
215+
"name": "bad-no-channel",
216+
"repo_url": "https://github.com/mitodl/ocw-hugo-projects.git",
217+
"project_type": "library",
218+
"packaging_tool": "none",
219+
"versioning_strategy": FILE_VERSION,
220+
},
221+
{
222+
"name": "bad-nonexistant-channel",
223+
"repo_url": "https://github.com/mitodl/ocw-hugo-projects.git",
224+
"channel_name": "ghost-channel",
225+
"project_type": "library",
226+
"packaging_tool": "none",
227+
"versioning_strategy": FILE_VERSION,
228+
},
214229
]
215230
},
216231
)

0 commit comments

Comments
 (0)