(extra: Record<string, string>)
| 694 | |
| 695 | describe('service roots under a shared test config', () => { |
| 696 | const services = (extra: Record<string, string>) => ({ |
| 697 | 'services/billing/pyproject.toml': '[project]\nname = "billing"\n', |
| 698 | 'services/billing/src/billing/__init__.py': '', |
| 699 | 'services/billing/src/billing/models.py': 'def charge():\n return 1\n', |
| 700 | 'services/api/pyproject.toml': '[project]\nname = "api"\n', |
| 701 | 'services/api/src/api/__init__.py': '', |
| 702 | 'services/api/src/api/views.py': 'from billing.models import charge\n\n\ndef view():\n charge()\n', |
| 703 | ...extra, |
| 704 | }); |
| 705 | const linked = () => |
| 706 | expect(targets('views.py', 'services/api/src/api/views.py', 'imports')).toContain( |
| 707 | 'models.py@services/billing/src/billing/models.py' |
no outgoing calls
no test coverage detected