Skip to content

Commit 1b4f55c

Browse files
committed
Add scenario report UI demo alias
1 parent 6d8c7b2 commit 1b4f55c

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

src/oss_launchpad_cli/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"dao-result-card": "web-app",
4949
"playwright-card-demo": "web-app",
5050
"governance-result-card-demo": "web-app",
51+
"scenario-report-ui-demo": "web-app",
5152
"library": "python-lib",
5253
"lib": "python-lib",
5354
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import unittest
2+
3+
from oss_launchpad_cli.cli import _resolve_preset_name
4+
5+
6+
class ScenarioReportUiDemoAliasTests(unittest.TestCase):
7+
def test_scenario_report_ui_demo_alias_resolves_to_web_app(self) -> None:
8+
self.assertEqual(_resolve_preset_name('scenario-report-ui-demo'), 'web-app')
9+
10+
11+
if __name__ == '__main__':
12+
unittest.main()

0 commit comments

Comments
 (0)