Skip to content

Commit

Permalink
Failing test about robots.txt agent case insensitivity.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Lecocq committed Nov 16, 2016
1 parent 28fc42b commit abbb222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_robots.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_exposes_sitemaps(self):
def test_case_insensitivity(self):
'''Make sure user agent matches are case insensitive'''
robot = robots.Robots.parse('http://example.com/robots.txt', '''
User-agent: agent
User-agent: Agent
Disallow: /path
''')
self.assertFalse(robot.allowed('/path', 'agent'))
Expand Down

0 comments on commit abbb222

Please sign in to comment.