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.
1 parent 9911bde commit a3ea937Copy full SHA for a3ea937
tests/test_api.py
@@ -180,6 +180,10 @@ def test_entry_points_groups_get(self):
180
entry_points().get('entries', 'default') == entry_points()['entries']
181
entry_points().get('missing', ()) == ()
182
183
+ def test_entry_points_allows_no_attributes(self):
184
+ with self.assertRaises(AttributeError):
185
+ entry_points()['entries'][0].foo = 4
186
+
187
def test_metadata_for_this_package(self):
188
md = metadata('egginfo-pkg')
189
assert md['author'] == 'Steven Ma'
0 commit comments