From 46c8ab3ae3e89b6e1759bbb7919fc271d70f8756 Mon Sep 17 00:00:00 2001 From: Jeremy Carbaugh Date: Sun, 11 Mar 2012 22:54:22 -0700 Subject: [PATCH] remove duplicate test method --- saucebrush/tests/sources.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/saucebrush/tests/sources.py b/saucebrush/tests/sources.py index 49c6721..f2f670d 100644 --- a/saucebrush/tests/sources.py +++ b/saucebrush/tests/sources.py @@ -42,17 +42,5 @@ class SourceTestCase(unittest.TestCase): 'year':'1999'}] self.assertEquals(list(source), expected_data) - def test_fixed_width_source(self): - data = cStringIO.StringIO('JamesNovember.3.1986\nTim..September151999') - fields = (('name',5), ('month',9), ('day',2), ('year',4)) - source = FixedWidthFileSource(data, fields, fillchars='.') - expected_data = [{'name':'James', 'month':'November', 'day':'3', - 'year':'1986'}, - {'name':'Tim', 'month':'September', 'day':'15', - 'year':'1999'}] - self.assertEquals(list(source), expected_data) - - - if __name__ == '__main__': unittest.main()