From e30d18487feaebc96ebc2f70525c911b15461a93 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 27 Jan 2015 23:34:57 +1100 Subject: [PATCH] tweak, test to ensure UUID's are ok for variations This is useful for checking checkout's match their UUID's, useful for testing further changes to BAM. --- tests/test_cli.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_cli.py b/tests/test_cli.py index 9d778b3..d1e0c99 100755 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -927,6 +927,13 @@ class BamCheckoutTest(BamSessionTestCase): stdout, stderr = bam_run(["checkout", file_name, "--output", session_path], proj_path) self.assertEqual("", stderr) + if 1: + # try to commit (ensure UUID's are correct) + # (not mismatch since the variations are applied) + stdout, stderr = bam_run(["commit", "-m", "test message"], session_path) + self.assertEqual("", stderr) + self.assertEqual("Nothing to commit!\n", stdout) + ret = bam_run_as_json(["deps", "lib_endpoint.blend", "--json", "--recursive"], session_path) ret.sort()