2018-03-01 21:25 GMT+01:00 Kai Huuhko <[email protected]>: > Is there an issue that this test exposes? >
There was an issue, it has already been fixed yesterday in efl master. The test has been written to not fall again in the same issue in the future. > > 2018-03-01 19:34 GMT+02:00 Dave Andreoli <[email protected]>: > > > davemds pushed a commit to branch master. > > > > http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id= > > 4b8ddcff7d2333afba38a76774c7d18c5e0ed93b > > > > commit 4b8ddcff7d2333afba38a76774c7d18c5e0ed93b > > Author: Dave Andreoli <[email protected]> > > Date: Thu Mar 1 18:32:46 2018 +0100 > > > > Elm: add test for elm_image_get() before a set() call > > --- > > tests/elementary/test_02_image_icon.py | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/tests/elementary/test_02_image_icon.py > > b/tests/elementary/test_02_image_icon.py > > index cc0b48a..b106a10 100644 > > --- a/tests/elementary/test_02_image_icon.py > > +++ b/tests/elementary/test_02_image_icon.py > > @@ -29,9 +29,10 @@ class TestElmImage(unittest.TestCase): > > self.assertEqual(Eo.parent_get(self.o), self.w) > > > > def testImageFile(self): > > - self.o.file = os.path.join(script_path, u"icon.png") > > - self.assertEqual(self.o.file[0], > > - os.path.join(script_path, u"icon.png")) > > + img_file = os.path.join(script_path, u"icon.png") > > + self.assertEqual(self.o.file, (None, None)) > > + self.o.file = img_file > > + self.assertEqual(self.o.file, (img_file, None)) > > self.assertEqual(self.o.object_size, (48, 48)) > > > > def testImageFileException(self): > > > > -- > > > > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
