praetorian-inc / chariot-ui

Chariot Offensive Security Platform
https://preview.chariot.praetorian.com
MIT License
15 stars 6 forks source link

CLI: `chariot test` does not load/run when the CLI isn't installed using PIP's `-e` option #70

Closed peter-kwan closed 2 weeks ago

peter-kwan commented 2 weeks ago

Bug Description

peter@peter-work-laptop ~$ praetorian chariot test
========================================== test session starts ==========================================
platform darwin -- Python 3.9.6, pytest-8.1.1, pluggy-1.4.0
rootdir: /Users/peter
collected 0 items

========================================= no tests ran in 0.00s =========================================
ERROR: file or directory not found: praetorian_cli/sdk/test

Steps to Reproduce

pip uninstall praetorian-cli
pip install praetorian-cli
cd ~/
praetorian chariot test
# observe that the above error message will show up

Expected Behavior The tests would run

peter-kwan commented 2 weeks ago

Pending review at https://github.com/praetorian-inc/praetorian-cli/pull/20

peter-kwan commented 2 weeks ago

Published in 1.0.3