Skip to content

Commit

Permalink
renamed test dir to tests, fixed failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomi Richards committed Apr 11, 2015
1 parent fda8f4e commit 815b568
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion gmailfilter/_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ def get_rule_globals_dict():
'IMAPServer': IMAPServer
}
return rule_globals

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ def test_single_message(self):
self.assertSequenceChunk(1, 10, ['1'])

def test_two_messages(self):
self.assertSequenceChunk(2, 10, ['1:2'])
self.assertSequenceChunk(2, 10, ['1:*'])

def test_one_chunk(self):
self.assertSequenceChunk(10, 10, ['1:10'])
self.assertSequenceChunk(10, 10, ['1:*'])

def test_one_and_a_bit_chunks(self):
self.assertSequenceChunk(11, 10, ['1:10', '11'])

def test_two_chunks(self):
self.assertSequenceChunk(20, 10, ['1:10', '11:20'])
self.assertSequenceChunk(20, 10, ['1:10', '11:*'])

def test_with_no_chunking(self):
self.assertSequenceChunk(5, 1, ['1', '2', '3', '4', '5'])
Expand Down
File renamed without changes.

0 comments on commit 815b568

Please sign in to comment.