def test_dollar_makes_partition(self):
    tp_out = _cleanse_time_partitioning('test.teast$20170101', {})
    expect = {'type': 'DAY'}
    assert (tp_out == expect)
def test_dollar_makes_partition(self):
    tp_out = _cleanse_time_partitioning('test.teast$20170101', {})
    expect = {'type': 'DAY'}
    assert (tp_out == expect)