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 afcb5cd commit a61a2ceCopy full SHA for a61a2ce
tests.py
@@ -76,8 +76,8 @@ def test_reflection(self):
76
77
def test_filtering(self):
78
data = nginx.loads(TESTBLOCK)
79
- self.assertEqual(len(data.server.filter('mykey')), 1)
80
- self.assertEqual(data.server.filter('nothere'), [])
+ self.assertEqual(len(data.server.filter('Key', 'mykey')), 1)
+ self.assertEqual(data.server.filter('Key', 'nothere'), [])
81
82
83
if __name__ == '__main__':
0 commit comments