From 945ae49967e19b13df651a256bcb2fb92f832577 Mon Sep 17 00:00:00 2001 From: Andy Port Date: Mon, 6 Jul 2020 11:13:47 -0700 Subject: [PATCH] fixed test_group_flatten for document.py changes --- test/test_groups.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/test_groups.py b/test/test_groups.py index 8e39cee..44b6cb9 100644 --- a/test/test_groups.py +++ b/test/test_groups.py @@ -1,3 +1,8 @@ +"""Tests related to SVG groups. + +To run these tests, you can use (from root svgpathtools directory): +$ python -m unittest test.test_groups.TestGroups.test_group_flatten +""" from __future__ import division, absolute_import, print_function import unittest from svgpathtools import * @@ -34,8 +39,8 @@ class TestGroups(unittest.TestCase): actual = get_desired_path(name, paths) - self.check_values(tf.dot(v_s), actual.path.start) - self.check_values(tf.dot(v_e), actual.path.end) + self.check_values(tf.dot(v_s), actual.start) + self.check_values(tf.dot(v_e), actual.end) def test_group_flatten(self): # Test the Document.paths() function against the