Skip to content

Commit f80ca04

Browse files
committed
undo code from another branch
1 parent ba79f69 commit f80ca04

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_create_single_guid.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,5 @@ def test__create_single_fallback_location():
5050
def test__create_single_missing_headers_raises():
5151
c = TestableOData({})
5252
import pytest
53-
from dataverse_sdk.errors import MetadataError
54-
from dataverse_sdk.error_codes import METADATA_CREATE_GUID_MISSING
55-
with pytest.raises(RuntimeError) as ei:
53+
with pytest.raises(RuntimeError):
5654
c._create_single("accounts", "account", {"name": "x"})
57-
assert ei.value.subcode == METADATA_CREATE_GUID_MISSING

0 commit comments

Comments
 (0)