Ejemplo n.º 1
0
def test_chart_days_raises_error():
    """Test chart days raises error if time dict not available."""
    jd = JobData('test')
    with pytest.raises(ValueError):
        jd.chart_days()
Ejemplo n.º 2
0
def test_chart_days_returns_list():
    """Test the chart days function returns list."""
    jd = JobData('test')
    jd.count_days()
    assert isinstance(jd.chart_days(), list)