add a test for getMediaDirPath()

This commit is contained in:
Ren Tatsumoto 2023-03-23 06:06:44 +03:00
parent 58283bdeb5
commit 8d16822cb5

View File

@ -1,4 +1,5 @@
import base64
import os.path
from conftest import ac
@ -49,3 +50,7 @@ def test_deleteMediaFile(session_with_profile_loaded):
ac.deleteMediaFile(filename=filename_1)
assert ac.retrieveMediaFile(filename=filename_1) is False
assert ac.getMediaFilesNames(pattern="_tes*.txt") == [filename_2]
def test_getMediaDirPath(session_with_profile_loaded):
assert os.path.isdir(ac.getMediaDirPath())