Commit: 8c59878bb9ae106c3b66c0a03cb03c7341beffa8
Author: Sybren A. Stüvel
Date:   Thu Apr 9 17:23:13 2020 +0200
Branches: temp-usd-export-unittest
https://developer.blender.org/rB8c59878bb9ae106c3b66c0a03cb03c7341beffa8

Output Blender's output in the first contents check.

===================================================================

M       tests/python/usd_export_test.py

===================================================================

diff --git a/tests/python/usd_export_test.py b/tests/python/usd_export_test.py
index fc5700f6f27..e168086fec9 100755
--- a/tests/python/usd_export_test.py
+++ b/tests/python/usd_export_test.py
@@ -93,7 +93,8 @@ class USDExportTest(AbstractUSDTest):
         # Do some minimal assertions on the USDA file.
         self.assertTrue(usd.exists(), f"File {usd} should exist: {output}")
         usd_contents = usd.read_text(encoding='utf8')
-        self.assertIn('metersPerUnit = 1', usd_contents[:256])
+        self.assertIn('metersPerUnit = 1', usd_contents[:256],
+            f"Basic test failed, probably more info in Blender's 
output:\n\n{output}\n\n---")
         self.assertIn('upAxis = "Z"', usd_contents[:256])
 
         # Uncomment to get a copy of the file that won't be deleted.

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to