Commit Graph
2 Commits
Author SHA1 Message Date
Khairul Azhar Kasmiran 3b2fb66b56 ci: Fix Python rz-pipe test step (#59)
* Don't ignore errors
* Use pytest 8.3.3
* Remove rz-agent use from open_base_test.py test
2024-11-11 21:45:37 +08:00
ransomware a095670ead Update Python style and add pytest (#15)
* Use shutil to figure out where ls lives
* Add contextlib shim for OpenBase
* Improve OpenBase
* Make shutil portable across python2/3
* Use print to print to sys.stderr
* Renames for easier readibility
* Improve indentation of help strings
* Improve namings and fix default param list issue
* Simplify comparison in native.py
* Add requirements-dev.txt
* Add format target which formats via black
* Reformat using black
* Improve the native module
* Remove unnecessary usage of eval
* Make pass through of lib functional
* Improve import logic
* Add context manager for convenience
* Add a test for the native module
* Add pytest make target
* Use asyncio >= 3.6 style, improve overall quality
* Add open_base_test

Signed-off-by: 4thel00z <[email protected]>
2021-06-02 11:14:04 +02:00