Spaces:
Running on Zero
Running on Zero
Link the data and the collection from the Space
Browse files- test_app_smoke.py +11 -0
test_app_smoke.py
CHANGED
|
@@ -160,6 +160,17 @@ def test_the_level_strip_wraps_to_two_rows_instead_of_scrolling(app):
|
|
| 160 |
assert shape["columns"] * 2 >= items > shape["columns"] * 2 - 2
|
| 161 |
|
| 162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
def test_dark_mode_is_forced(app):
|
| 164 |
"""The light theme washes the amber accents out against the photos."""
|
| 165 |
assert "__theme" in app.FORCE_DARK and "dark" in app.FORCE_DARK
|
|
|
|
| 160 |
assert shape["columns"] * 2 >= items > shape["columns"] * 2 - 2
|
| 161 |
|
| 162 |
|
| 163 |
+
def test_the_header_links_every_sibling_artifact(app):
|
| 164 |
+
"""A visitor who lands on the Space should be able to reach the rest from here."""
|
| 165 |
+
for url in ["https://arxiv.org/abs/2609.06490",
|
| 166 |
+
"https://github.com/dipta007/OracleZoom",
|
| 167 |
+
"https://dipta007.github.io/OracleZoom/",
|
| 168 |
+
"https://huggingface.co/dipta007/OracleZoom",
|
| 169 |
+
"https://huggingface.co/datasets/dipta007/OracleZoom-4KLSDB-train",
|
| 170 |
+
"https://huggingface.co/collections/dipta007/oraclezoom"]:
|
| 171 |
+
assert url in app.HEADER, url
|
| 172 |
+
|
| 173 |
+
|
| 174 |
def test_dark_mode_is_forced(app):
|
| 175 |
"""The light theme washes the amber accents out against the photos."""
|
| 176 |
assert "__theme" in app.FORCE_DARK and "dark" in app.FORCE_DARK
|