From a3e0ba003a3a2386c272464dff20150ccb11985e Mon Sep 17 00:00:00 2001 From: Benjamin Jakimow <benjamin.jakimow@geo.hu-berlin.de> Date: Fri, 4 Aug 2017 09:13:22 +0200 Subject: [PATCH] tbd --- test/test_plotstyling.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/test_plotstyling.py b/test/test_plotstyling.py index c2e15dba..15640fe9 100644 --- a/test/test_plotstyling.py +++ b/test/test_plotstyling.py @@ -27,10 +27,17 @@ class TestPlotStyling(unittest.TestCase): def test_plotstyles(self): - #qgsApp = QGIS_APP() + s1 = PlotStyle() + s2 = PlotStyle() + + self.assertEqual(s1,s2) + s2.markerSize = 3 + self.assertNotEquals(s1,s2) + + #test if we can pickle a plot style import pickle - s1 = PlotStyle() + s2 = pickle.loads(pickle.dumps(s1)) self.assertEqual(s1,s2) -- GitLab