def test_current_as_running_frame(watson):
    """
    Ensures frame can be created without a stop date.
    Catches #417: editing task in progress throws an exception
    """
    watson.start('foo', tags=['A', 'B'])

    cur = watson.current
    frame = Frame(cur['start'], None, cur['project'], None, cur['tags'])

    assert frame.stop is None
    assert frame.project == 'foo'
    assert frame.tags == ['A', 'B']

    Ensures frame can be created without a stop date.
    Catches #417: editing task in progress throws an exception
    
tests/test_watson.py