MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / services

Function services

__tests__/python-module-resolution.test.ts:696–704  ·  view source on GitHub ↗
(extra: Record<string, string>)

Source from the content-addressed store, hash-verified

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'

Calls

no outgoing calls

Tested by

no test coverage detected