def test_slice_empty(self): bc = BaseClient() indf = pd.DataFrame() outdf = bc.slice_times(indf, {'latest': True}) self.assertEqual(len(outdf), 0)