Updated test to avoid issue with GitHub workflow

This commit is contained in:
Rhet Turnbull
2020-04-26 15:57:43 -07:00
parent d8a64c9573
commit 9be0f849b7

View File

@@ -1,3 +1,4 @@
import os
import pytest
from click.testing import CliRunner
@@ -601,6 +602,10 @@ def test_export_directory_template_album_2():
assert os.path.isfile(os.path.join(workdir, filepath))
@pytest.mark.skipif(
"OSXPHOTOS_TEST_LOCALE" not in os.environ,
reason="Skip if running in Github actions",
)
def test_export_directory_template_locale():
# test export using directory template in user locale non-US
import os