rename: tea-modulo / tea_modulo -> tea (distribution, package, entry-point groups, MLflow names, image paths)
This commit is contained in:
@@ -17,11 +17,11 @@ import pytest
|
||||
import ktlx_synth as tr
|
||||
from edfio import EdfSignal
|
||||
|
||||
from tea_modulo.export import edf_export as ex
|
||||
from tea_modulo.export import ktlx
|
||||
from tea_modulo.export.edf_annotations import BAD_ACQ_SKIP, clamped
|
||||
from tea_modulo.export.edf_header import EDF_RECORDING_LEN, recording_header
|
||||
from tea_modulo.export.edf_signals import DIGITAL_RANGE, build_signals, half_range
|
||||
from tea.export import edf_export as ex
|
||||
from tea.export import ktlx
|
||||
from tea.export.edf_annotations import BAD_ACQ_SKIP, clamped
|
||||
from tea.export.edf_header import EDF_RECORDING_LEN, recording_header
|
||||
from tea.export.edf_signals import DIGITAL_RANGE, build_signals, half_range
|
||||
|
||||
ACCENTED = "Fotoestimulación ñandú"
|
||||
ACCENTED_STAMP = 200
|
||||
@@ -223,7 +223,7 @@ def test_start_time_without_snc_is_utc(study, tmp_path, monkeypatch):
|
||||
|
||||
|
||||
def test_cli_reports_errors_without_traceback(tmp_path, caplog, capsys):
|
||||
from tea_modulo.export import cli
|
||||
from tea.export import cli
|
||||
with caplog.at_level(logging.ERROR):
|
||||
assert cli.main([str(tmp_path / "missing")]) == 1
|
||||
assert "La carpeta no existe" in caplog.text
|
||||
@@ -231,7 +231,7 @@ def test_cli_reports_errors_without_traceback(tmp_path, caplog, capsys):
|
||||
|
||||
|
||||
def test_cli_converts(study, tmp_path, capsys):
|
||||
from tea_modulo.export import cli
|
||||
from tea.export import cli
|
||||
out = tmp_path / "cli.edf"
|
||||
assert cli.main([str(study.folder), "-o", str(out)]) == 0
|
||||
assert out.exists() and str(out) in capsys.readouterr().out
|
||||
|
||||
Reference in New Issue
Block a user