|
@@ -8,9 +8,7 @@
|
|
|
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
|
|
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
|
# specific language governing permissions and limitations under the License.
|
|
|
-import typing
|
|
|
from datetime import datetime, timedelta
|
|
|
-from typing import Set
|
|
|
from unittest import mock
|
|
|
|
|
|
import pytest
|
|
@@ -369,7 +367,7 @@ def test_renaming_existing_sequence_raises_exception(data_node):
|
|
|
|
|
|
scenario.add_sequence("sequence_1", [task_1])
|
|
|
scenario.add_sequence("sequence_2", [task_2])
|
|
|
- with pytest.raises(SequenceAlreadyExists) as err:
|
|
|
+ with pytest.raises(SequenceAlreadyExists):
|
|
|
scenario.rename_sequence("sequence_1", "sequence_2")
|
|
|
|
|
|
|