def test_start(self): f = ColumnTrimmer() f.next = m = Mock() f.rdsheet = 'junk' f.pending_rdsheet = 'junk' f.ranges = 'junk' f.max_nonjunk = 'junk' f.max = 'junk' f.start() compare(f.rdsheet,None) compare(f.pending_rdsheet,None) compare(f.ranges,[]) compare(f.max_nonjunk,0) compare(f.max,0) compare(m.method_calls,[ ('start', (), {}) ])