-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overlapping function names prevention
- Loading branch information
Showing
3 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/jobs/dependency_checks_job/duplicate_dependency_job.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import tests.jobs.dependency_checks_job.datasources_a as a | ||
import tests.jobs.dependency_checks_job.datasources_b as b | ||
from rialto.jobs import job, register_dependency_module | ||
|
||
# module "A" has i(), j(), k() | ||
# module "B" has i(j), and dependency on module C | ||
|
||
register_dependency_module(b) | ||
register_dependency_module(a) | ||
|
||
|
||
@job | ||
def duplicate_dependency_job(i): | ||
# i is in both A and B | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters