Spaces:
Running
Running
revert file rename
Browse files
tests/test_app_config.py
CHANGED
|
@@ -22,12 +22,12 @@ def test_trackio_space_initialization():
|
|
| 22 |
|
| 23 |
# Test 2: Custom initialization
|
| 24 |
print("\n2. Testing custom initialization...")
|
| 25 |
-
|
| 26 |
hf_token="test_token_123",
|
| 27 |
dataset_repo="test-user/test-dataset"
|
| 28 |
)
|
| 29 |
-
print(f" Dataset repo: {
|
| 30 |
-
print(f" HF token set: {'Yes' if
|
| 31 |
|
| 32 |
# Test 3: Partial custom initialization
|
| 33 |
print("\n3. Testing partial custom initialization...")
|
|
|
|
| 22 |
|
| 23 |
# Test 2: Custom initialization
|
| 24 |
print("\n2. Testing custom initialization...")
|
| 25 |
+
trackio_custom_config = app.TrackioSpace(
|
| 26 |
hf_token="test_token_123",
|
| 27 |
dataset_repo="test-user/test-dataset"
|
| 28 |
)
|
| 29 |
+
print(f" Dataset repo: {trackio_custom_config.dataset_repo}")
|
| 30 |
+
print(f" HF token set: {'Yes' if trackio_custom_config.hf_token else 'No'}")
|
| 31 |
|
| 32 |
# Test 3: Partial custom initialization
|
| 33 |
print("\n3. Testing partial custom initialization...")
|
trackio_custom.py → trackio.py
RENAMED
|
File without changes
|