Adding BAM STATUS to test test_absolute_relative_from_blendfiles_texture
This commit is contained in:
@@ -1637,6 +1637,12 @@ class BamRelativeAbsoluteTest(BamSessionTestCase):
|
|||||||
self.assertEqual(ret[1][1], "//" + os.path.join("..", "..", "_root", "level1_lib", "level2_lib", "texture.png"))
|
self.assertEqual(ret[1][1], "//" + os.path.join("..", "..", "_root", "level1_lib", "level2_lib", "texture.png"))
|
||||||
self.assertEqual(ret[1][3], "OK")
|
self.assertEqual(ret[1][3], "OK")
|
||||||
|
|
||||||
|
import re
|
||||||
|
stdout, stderr = bam_run(["status"], session_path)
|
||||||
|
pattern = re.compile("D:|M:")
|
||||||
|
changes = pattern.search(stdout) != None
|
||||||
|
self.assertEqual(False, changes)
|
||||||
|
|
||||||
shutil.rmtree(session_path)
|
shutil.rmtree(session_path)
|
||||||
|
|
||||||
class BamIgnoreTest(BamSessionTestCase):
|
class BamIgnoreTest(BamSessionTestCase):
|
||||||
|
Reference in New Issue
Block a user