~yerinalexey/pcrond

e6b9038894330d44b08db6f6a508de370c34778f — Luca Vercelli 2 years ago 6dfd6e8
clean code
1 files changed, 2 insertions(+), 2 deletions(-)

M test_scheduler.py
M test_scheduler.py => test_scheduler.py +2 -2
@@ 30,9 30,9 @@ class SchedulerTests(unittest.TestCase):
            job._split_tokens("1/3")
        with self.assertRaises(ValueError):
            job._split_tokens("1-2/goofy")
        (s,r) = job._split_tokens("1,2-5/3,jul,10-goofy/6")
        (s, r) = job._split_tokens("1,2-5/3,jul,10-goofy/6")
        assert s == ['1', 'jul']
        assert r == [['2','5', 3], ['10', 'goofy', 6]]
        assert r == [['2', '5', 3], ['10', 'goofy', 6]]

    def test_decode_token(self):
        job = Job()