Skip to content

Commit 14c5318

Browse files
committed
assert
1 parent eae1c01 commit 14c5318

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
os.environ['TYPECHECK'] = 'True'
33
os.environ['DEBUG'] = 'True'
44
from shutil import rmtree
5+
from pathlib import Path
56

67
import torch
78

@@ -21,6 +22,8 @@ def test_cli():
2122
checkpoint_path = './test-folder/test-cli-alphafold3.pt'
2223
alphafold3.save(checkpoint_path, overwrite = True)
2324

24-
cli(['--checkpoint', checkpoint_path, '--protein', 'AG', '--output', './test-folder/atom-pos.pt'], standalone_mode = False)
25+
cli(['--checkpoint', checkpoint_path, '--protein', 'AG', '--output', './test-folder/output.pdb'], standalone_mode = False)
26+
27+
assert Path('./test-folder/output.pdb').exists()
2528

2629
rmtree('./test-folder')

0 commit comments

Comments
 (0)