Beispiel #1
0
def test_check_humantime_with_to_and_spaces():
    assert check.check_humantime("9:00 am to 5:00 pm")
Beispiel #2
0
def test_check_humantime_with_extra_spaces():
    assert check.check_humantime("9:00 am - 5:00 pm")
Beispiel #3
0
def test_check_humantime_with_to():
    assert check.check_humantime("9:00am to 5:00pm")
Beispiel #4
0
def test_check_humantime_fail():
    assert not check.check_humantime("09:00")
Beispiel #5
0
def test_check_humantime_only_am():
    assert not check.check_humantime("am")
Beispiel #6
0
def test_check_humantime_with_to_and_spaces():
    assert check.check_humantime("9:00 am to 5:00 pm")
Beispiel #7
0
def test_check_euro_humantime():
    assert check.check_humantime("09:00-17:00")
Beispiel #8
0
def test_check_humantime_only_am():
    assert not check.check_humantime("am")
Beispiel #9
0
def test_check_humantime_with_spaces():
    assert check.check_humantime("9:00am - 5:00pm")
Beispiel #10
0
def test_check_euro_humantime():
    assert check.check_humantime("09:00-17:00")
Beispiel #11
0
def test_check_humantime_fail():
    assert not check.check_humantime("09:00")
Beispiel #12
0
def test_check_humantime():
    assert not check.check_humantime("09:00am")
Beispiel #13
0
def test_check_humantime_without_am_pm_with_to():
    assert check.check_humantime("9:00 to 17:00")
Beispiel #14
0
def test_check_humantime_without_am_pm():
    assert check.check_humantime("9:00-17:00")
Beispiel #15
0
def test_check_humantime_without_am_pm():
    assert check.check_humantime("9:00-17:00")
Beispiel #16
0
def test_check_humantime():
    assert not check.check_humantime("09:00am")
Beispiel #17
0
def test_check_humantime_without_am_pm_with_to():
    assert check.check_humantime("9:00 to 17:00")
Beispiel #18
0
def test_check_humantime_with_to():
    assert check.check_humantime("9:00am to 5:00pm")