Commit Graph

10 Commits

Author SHA1 Message Date
ETM-Code c243c8aca5 feat: add --version flag to the CLI
- Add a `--version` flag to the main CLI group using click's `version_option`
- Prints `Scrapling, version <version>` and exits, sourcing the version from `scrapling.__version__`
- Add a CLI test asserting the flag's output

Closes #299
2026-05-30 11:37:22 +01:00
Karim shoair 9acc8194c5 test: update the tests accordingly 2026-02-06 02:45:13 +02:00
Karim shoair fdfd5bf96b test: update all tests accordingly 2025-12-26 03:22:56 +02:00
Karim shoair 2751653190 test: add tests for the new impersonate logic 2025-11-16 16:34:24 +02:00
Karim shoair 386da62ec9 tests: fix CLI tests according to last changes 2025-09-19 23:17:54 +03:00
Karim shoair eae088a07b tests: Multiple changes to tests
- Remove all tests for the old encoding logic
- Stop using the `nopecha` test page to test Cloudflare solver
- Remove useless tests like testing for infinite timeout
- Fixes to make the code compatible with new changes
2025-09-14 20:24:46 +03:00
Karim shoair 1024ba6916 tests: Update test to be up-to-date with current version of the code 2025-09-14 16:30:59 +03:00
Karim shoair d49e047736 tests: change tests accordingly 2025-09-02 15:23:30 +03:00
Karim shoair 8bfbcec2d7 test: remove the test for install command
GitHub is already reinstalls the library with it with every test
2025-08-15 06:01:53 +03:00
Karim shoair 0e3358007f test: adding new tests and updating existing ones 2025-08-15 04:52:51 +03:00