Skip to content

Commit 4026e84

Browse files
committed
BF: need to account for change of size due to strain added, just replaced with ANY_INT for contentSize check
1 parent e371001 commit 4026e84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dandi/tests/test_metadata.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import shutil
77
from typing import Any
88

9-
from anys import ANY_AWARE_DATETIME, AnyFullmatch, AnyIn
9+
from anys import ANY_AWARE_DATETIME, ANY_INT, AnyFullmatch, AnyIn
1010
from dandischema.consts import DANDI_SCHEMA_VERSION
1111
from dandischema.metadata import validate
1212
from dandischema.models import (
@@ -24,7 +24,7 @@
2424
SexType,
2525
Software,
2626
SpeciesType,
27-
StrainType
27+
StrainType,
2828
)
2929
from dandischema.models import Dandiset as DandisetMeta
3030
from dateutil.tz import tzutc
@@ -874,7 +874,7 @@ def test_nwb2asset(simple2_nwb: Path) -> None:
874874
],
875875
),
876876
],
877-
contentSize=ByteSize(19664),
877+
contentSize=ANY_INT,
878878
encodingFormat="application/x-nwb",
879879
digest={DigestType.dandi_etag: "dddddddddddddddddddddddddddddddd-1"},
880880
path=str(simple2_nwb),

0 commit comments

Comments
 (0)