diff options
| author | Michael Merickel <github@m.merickel.org> | 2024-02-04 23:55:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-04 23:55:45 -0700 |
| commit | 151ebdc003a3a372017fdf73c14fbebcc550535d (patch) | |
| tree | ff2b210b87aff4715450acc38d695a6c6a8abf61 /tests/test_scripts/dummy.py | |
| parent | a6fe1a1e38d6a3fb955fa950b671fc736ac9f4d0 (diff) | |
| parent | 13dbb8507e9f1acaaad8caf74a1441e1f723a346 (diff) | |
| download | pyramid-151ebdc003a3a372017fdf73c14fbebcc550535d.tar.gz pyramid-151ebdc003a3a372017fdf73c14fbebcc550535d.tar.bz2 pyramid-151ebdc003a3a372017fdf73c14fbebcc550535d.zip | |
Merge pull request #3749 from Pylons/remove-pkg-resources-from-scripts
Remove pkg resources from scripts
Diffstat (limited to 'tests/test_scripts/dummy.py')
| -rw-r--r-- | tests/test_scripts/dummy.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/test_scripts/dummy.py b/tests/test_scripts/dummy.py index 5768f071e..758d3c9fd 100644 --- a/tests/test_scripts/dummy.py +++ b/tests/test_scripts/dummy.py @@ -154,26 +154,6 @@ class DummyBootstrap: } -class DummyEntryPoint: - def __init__(self, name, module): - self.name = name - self.module = module - - def load(self): - return self.module - - -class DummyPkgResources: - def __init__(self, entry_point_values): - self.entry_points = [] - - for name, module in entry_point_values.items(): - self.entry_points.append(DummyEntryPoint(name, module)) - - def iter_entry_points(self, name): - return self.entry_points - - class dummy_setup_logging: def __call__(self, config_uri, global_conf): self.config_uri = config_uri |
