Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: test for packages API from github (#1049)
* Add: packages API from github * Refactor: Reuse JSON instead of hardcoding every occurance ... * WiP: Add tests, test functionallity * Add: Test script to get the ID of a package with a specific tag. * Fix tests * Add test for package_versions * Add: Test for package_version_tags * Change: Some typo * Test: debugging for packages.py error * Add: Tests for delete and tags * Fix: Local pathfinding not working on github * Fix: Indentation * Refractor * Remove: Broken code to check other tests * Change: Removed unnecessary print * Add: test_delete_package * Add: test_delete_package_version_tag * Add: Test for Api.py line 129 * Change:Debugging delete_package_version_tag * Fix:Package_version missing * Remove: Package self check * Add: Print tags * Removed: Test * Add: Delete package(s) with specific tag * Fix: Newline and iterator * Fix: Function not existing so i removed the call * Fix: missing await * Fix: Iterator type error * Fix: missing async * Fix: Async Iterator * Fix: Iterator * A commit * Iterator * Change: Different try on iterator * Get_All * New tests * Iterator stuff * Change: Change package_versions back to old version * Change: New try * Fix: Test_package_versions * Refractor * Refractor * Refractor * Refractor * Some debugging * Debug: Type fail * Type fixes * Type problemes * Change: Updated the test_delete_package_with_tag * Remove: Duplicated test * Fix: Test had wront wait * Remove: Unnecessary test * Refractor: imports * Add: Extended tests * Fix: Container was in lower case * Fix: wrong url for second delete * Change: Moved the failuretest * Add: test for lines * Remove: Not working tests * Remove: Unnecessary code block * Change: Code cleanup * Delete awaited once still failing * Debugging * Debugging * Debugging * Debugging * Remove:trailing spaces * Remove: Trailing spaces * Test package_version_delete and package_version_tags * Commit for staging * Add: working unit tests, Refractor * Add: Script to use delete by tag * Refractor: packages.py, delete-package-with-tag.py, test_packages.py * Refractor: delete-package-with-tag --------- Co-authored-by: Jaspar Stach <jaspar.stach@greenbone.net>
- Loading branch information