Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /trisongz_lazyops /tests /e2e /test_require.py
| import pytest | |
| from lzl.require import LazyLib | |
| def test_require_check_installed(): | |
| """ | |
| Test checking for an installed package. | |
| """ | |
| # pytest should be installed | |
| assert LazyLib.is_available("pytest") | |
| def test_require_missing(): | |
| """ | |
| Test behavior for missing package. | |
| """ | |
| assert not LazyLib.is_available("non_existent_package_12345") | |
Xet Storage Details
- Size:
- 368 Bytes
- Xet hash:
- 1c7d41e337b2651d8f3eff98695be91194bbddf52532fb60089124dab554d114
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.