Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Remove redundant method definition
Browse files Browse the repository at this point in the history
Summary: Fixes a lint error.

Test Plan: Run unit tests.

Reviewers: kylec

Reviewed By: kylec

Subscribers: changesbot, wwu

Differential Revision: https://tails.corp.dropbox.com/D91467
  • Loading branch information
JukkaL committed Feb 23, 2015
1 parent a83991a commit 0efe014
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/changes/utils/test_categorize.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ def test_parse_empty_rule(self):
self.assertEqual(_parse_rule('# foo \n'), None)
self.assertEqual(_parse_rule(' # foo \n'), None)

def test_parse_rule(self):
self.assertEqual(_parse_rule('tag::regex'), ('tag', '', 'regex'))
self.assertEqual(_parse_rule(' tag : proj : regex '), ('tag', 'proj', 'regex'))
self.assertEqual(_parse_rule(' tag : proj : regex :: '), ('tag', 'proj', 'regex ::'))

def test_parse_rule(self):
self.assertEqual(_parse_rule('tag::regex'), ('tag', '', 'regex'))
self.assertEqual(_parse_rule(' x-fail : proj : test error '),
Expand Down

0 comments on commit 0efe014

Please sign in to comment.