mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 18:44:21 +08:00
16 lines
376 B
Python
16 lines
376 B
Python
"""
|
|
Default test to make sure train runs
|
|
"""
|
|
import pytest
|
|
from hydra.experimental import compose, initialize
|
|
|
|
from scripts.run_train import main
|
|
|
|
|
|
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
|
|
def test_run_train():
|
|
"""test run train script works properly"""
|
|
initialize(config_path="../configs/test/")
|
|
conf = compose("test_dryrun.yaml")
|
|
main(conf)
|