current working example
This commit is contained in:
parent
95661fb73e
commit
f19c7861b0
14 changed files with 379 additions and 45 deletions
15
tests/test_pdf_project_manager.py
Normal file
15
tests/test_pdf_project_manager.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import pytest
|
||||
import os
|
||||
from pdf_util.pdf_project_manager import pdf_project_manager
|
||||
|
||||
def test_basic_object_creation():
|
||||
test_pdf_project_manager = pdf_project_manager()
|
||||
print(test_pdf_project_manager.uuid)
|
||||
assert len(test_pdf_project_manager.uuid) == 36
|
||||
|
||||
|
||||
def test_folder_creation():
|
||||
test_pdf_project_manager = pdf_project_manager()
|
||||
print(test_pdf_project_manager.uuid)
|
||||
assert os.path.isdir('/app/projects/' + test_pdf_project_manager.uuid)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue