Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-02 15:27:16 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-02 15:42:25 +0300
commit22f17551e572ccffd1a8089b4d18c988548d7d54 (patch)
tree82617ac26f53a10bb403084c6570fa7c151afa23 /tests
parentb5807be43780c575ef278e917abf2e71c4b7b169 (diff)
Fix scene units test failure after recent changes
Diffstat (limited to 'tests')
-rw-r--r--tests/python/bl_pyapi_bpy_utils_units.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/python/bl_pyapi_bpy_utils_units.py b/tests/python/bl_pyapi_bpy_utils_units.py
index 88d5cb941bd..d5d9c9c707b 100644
--- a/tests/python/bl_pyapi_bpy_utils_units.py
+++ b/tests/python/bl_pyapi_bpy_utils_units.py
@@ -37,13 +37,13 @@ class UnitsTesting(unittest.TestCase):
('IMPERIAL', 'LENGTH', 3, False, False, 0.3048, "1'"),
('IMPERIAL', 'LENGTH', 3, False, True, 0.3048, "1ft"),
('IMPERIAL', 'LENGTH', 4, True, False, 0.3048 * 2 + 0.0254 * 5.5, "2' 5.5\""),
- ('IMPERIAL', 'LENGTH', 3, False, False, 1609.344 * 1e6, "1000000mi"),
- ('IMPERIAL', 'LENGTH', 6, False, False, 1609.344 * 1e6, "1000000mi"),
- ('METRIC', 'LENGTH', 3, True, False, 1000 * 2 + 0.001 * 15, "2km 2cm"),
- ('METRIC', 'LENGTH', 5, True, False, 1234.56789, "1km 234.6m"),
- ('METRIC', 'LENGTH', 6, True, False, 1234.56789, "1km 234.57m"),
- ('METRIC', 'LENGTH', 9, False, False, 1234.56789, "1.234568km"),
- ('METRIC', 'LENGTH', 9, True, False, 1000.000123456789, "1km 0.123mm"),
+ ('IMPERIAL', 'LENGTH', 3, False, False, 1609.344 * 1e6, "1000000 mi"),
+ ('IMPERIAL', 'LENGTH', 6, False, False, 1609.344 * 1e6, "1000000 mi"),
+ ('METRIC', 'LENGTH', 3, True, False, 1000 * 2 + 0.001 * 15, "2 km 2 cm"),
+ ('METRIC', 'LENGTH', 5, True, False, 1234.56789, "1 km 234.6 m"),
+ ('METRIC', 'LENGTH', 6, True, False, 1234.56789, "1 km 234.57 m"),
+ ('METRIC', 'LENGTH', 9, False, False, 1234.56789, "1.234568 km"),
+ ('METRIC', 'LENGTH', 9, True, False, 1000.000123456789, "1 km 0.123 mm"),
)
def test_units_inputs(self):