Skip to content

Commit

Permalink
test: fix test to run in order
Browse files Browse the repository at this point in the history
  • Loading branch information
34j committed Mar 20, 2023
1 parent 97ec98d commit 17ec5ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def test_preprocess(self):

preprocess_resample("tests/dataset_raw", "tests/dataset/44k", 44100)

def test_preprocess_config(self):
from so_vits_svc_fork.preprocess_flist_config import preprocess_config

preprocess_config(
Expand All @@ -40,9 +39,8 @@ def test_preprocess_config(self):
"tests/configs/config.json",
)

def test_preprocess_hubert(self):
if IS_CI:
raise SkipTest("Skip preprocessing test on CI")
raise SkipTest("Skip hubert and f0 test on CI")
from so_vits_svc_fork.preprocess_hubert_f0 import preprocess_hubert_f0

preprocess_hubert_f0("tests/dataset/44k", "tests/configs/44k/config.json")
Expand Down

0 comments on commit 17ec5ba

Please sign in to comment.