(
current_target, # type: Target
ansicolors_exotic, # type: LockedResolve
)
| 327 | |
| 328 | |
| 329 | def test_source( |
| 330 | current_target, # type: Target |
| 331 | ansicolors_exotic, # type: LockedResolve |
| 332 | ): |
| 333 | # type: (...) -> None |
| 334 | assert_error( |
| 335 | ansicolors_exotic.resolve(current_target, [req("requests>1")], source="lock.json"), |
| 336 | dedent( |
| 337 | """\ |
| 338 | Failed to resolve all requirements for {target_description} from lock.json: |
| 339 | |
| 340 | Configured with: |
| 341 | build: True |
| 342 | use_wheel: True |
| 343 | |
| 344 | Dependency on requests (via: requests>1) not satisfied, no candidates found. |
| 345 | """ |
| 346 | ).format(target_description=current_target.render_description()), |
| 347 | ) |
| 348 | |
| 349 | |
| 350 | def test_version_mismatch( |
nothing calls this directly
no test coverage detected