Skip to content

Commit f9e3321

Browse files
author
Val Brodsky
committed
Dealing with consts in tests
1 parent f1b3050 commit f9e3321

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

libs/labelbox/tests/integration/conftest.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
from typing import Type
88

99
import pytest
10-
from constants import (
11-
CAPTURE_DT_SCHEMA_ID,
12-
SPLIT_SCHEMA_ID,
13-
TEST_SPLIT_ID,
14-
TEXT_SCHEMA_ID,
15-
)
1610

1711
from labelbox import (
1812
Classification,
@@ -31,6 +25,18 @@
3125
from labelbox.schema.queue_mode import QueueMode
3226
from labelbox.schema.user import User
3327

28+
SPLIT_SCHEMA_ID = "cko8sbczn0002h2dkdaxb5kal"
29+
TEST_SPLIT_ID = "cko8scbz70005h2dkastwhgqt"
30+
TEXT_SCHEMA_ID = "cko8s9r5v0001h2dk9elqdidh"
31+
CAPTURE_DT_SCHEMA_ID = "cko8sdzv70006h2dk8jg64zvb"
32+
EXPECTED_METADATA_SCHEMA_IDS = [
33+
SPLIT_SCHEMA_ID,
34+
TEST_SPLIT_ID,
35+
TEXT_SCHEMA_ID,
36+
CAPTURE_DT_SCHEMA_ID,
37+
]
38+
CUSTOM_TEXT_SCHEMA_NAME = "custom_text"
39+
3440

3541
@pytest.fixture
3642
def project_based_user(client, rand_gen):

0 commit comments

Comments
 (0)