Skip to content

Commit

Permalink
fix reference arg
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorcary committed Sep 13, 2024
1 parent 358f400 commit 9f69b13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/api2/test_pool_dataset_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ def verify_lock_status(ds, *, locked):

@contextlib.contextmanager
def create_dataset(payload, **delete_args):
name = payload['name']
yield call('pool.dataset.create', payload)
assert call('pool.dataset.delete', payload['name'], delete_args)
assert call('pool.dataset.delete', name, delete_args)


@pytest.fixture(scope='class')
Expand Down

0 comments on commit 9f69b13

Please sign in to comment.