We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4350f49 + db79ed5 commit a2420ceCopy full SHA for a2420ce
testing/test_entry_points.py
@@ -0,0 +1,13 @@
1
+import pkg_resources
2
+
3
+import pytest
4
5
6
+@pytest.mark.parametrize("entrypoint", ['py.test', 'pytest'])
7
+def test_entry_point_exist(entrypoint):
8
+ assert entrypoint in pkg_resources.get_entry_map('pytest')['console_scripts']
9
10
11
+def test_pytest_entry_points_are_identical():
12
+ entryMap = pkg_resources.get_entry_map('pytest')['console_scripts']
13
+ assert entryMap['pytest'].module_name == entryMap['py.test'].module_name
0 commit comments