def test_add_failure(watson):
    """
    Adding a new frame outside of live tracking fails when
    to date is before from date
    """
    with pytest.raises(WatsonError):
        watson.add(project="test_project", tags=['fuu', 'bar'],
                   from_date=7000, to_date=6000)

    Adding a new frame outside of live tracking fails when
    to date is before from date
    
tests/test_watson.py