# Path: virtool/dispatcher/operations.py
# UPDATE: Operation = "update"


from virtool.dispatcher.change import Change
from virtool.dispatcher.operations import UPDATE


def test_change():
    """
    Make sure a change object has the required attributes and string representation.

    """
    change = Change("jobs", UPDATE, ["foo", "bar"])

    assert change.interface == "jobs"

# Path: virtool/dispatcher/operations.py
# UPDATE: Operation = "update"


# Path: tests/dispatcher/test_change.py
from virtool.dispatcher.change import Change
from virtool.dispatcher.operations import UPDATE



def test_change():
    """
    Make sure a change object has the required attributes and string representation.

    """
    change = Change("jobs", UPDATE, ["foo", "bar"])

    assert change.interface == "jobs"

    assert change.operation == UPDATE