We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d07221 commit 4a1fe0eCopy full SHA for 4a1fe0e
tests/core_tests/test_api.py
@@ -365,6 +365,15 @@ def test_specify_name(self):
365
)
366
self.assertEqual(set(expected), set(result))
367
368
+ def test_sequence_format(self):
369
+ expected = [
370
+ os.path.join(self.shot_a_path, "%V", "filename.$F4.exr"),
371
+ os.path.join(self.shot_b_path, "%V", "filename.$F4.exr"),
372
+ ]
373
+ result = self.tk.abstract_paths_from_template(
374
+ self.template, {"name": "filename", "SEQ": "FORMAT: $F"}
375
+ )
376
+ self.assertEqual(set(expected), set(result))
377
378
class TestPathsFromTemplateGlob(TankTestBase):
379
"""Tests for Tank.paths_from_template method which check the string sent to glob.glob."""
0 commit comments