Skip to content

Commit a61a2ce

Browse files
committed
fix typo
1 parent afcb5cd commit a61a2ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def test_reflection(self):
7676

7777
def test_filtering(self):
7878
data = nginx.loads(TESTBLOCK)
79-
self.assertEqual(len(data.server.filter('mykey')), 1)
80-
self.assertEqual(data.server.filter('nothere'), [])
79+
self.assertEqual(len(data.server.filter('Key', 'mykey')), 1)
80+
self.assertEqual(data.server.filter('Key', 'nothere'), [])
8181

8282

8383
if __name__ == '__main__':

0 commit comments

Comments
 (0)