From 441bc964e770c6bb3217009eed9468f9ca4166e4 Mon Sep 17 00:00:00 2001 From: Eugene Petkevich Date: Mon, 22 May 2017 23:14:47 +0300 Subject: [PATCH 1/2] Add refactoring note --- README.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 85f3210..0d8e522 100644 --- a/README.rst +++ b/README.rst @@ -5,15 +5,16 @@ python-opc VERSION: 0.0.1d (first development release) -STATUS (as of October 20 2013) +STATUS (as of May 22 2017) ============================== +May 2017 update: In process of refactoring and integrating changes from the python-pptx library. + First development release. Under active development. WARNING:`spike` branch is SUBJECT TO FULL REBASING at any time. You probably don't want to base a pull request on it without asking first. - Vision ====== From 8a272a1552cd3100a35e02b5f6b2f27efc43e07c Mon Sep 17 00:00:00 2001 From: Eugene Petkevich Date: Wed, 7 Jun 2017 10:15:28 +0300 Subject: [PATCH 2/2] Fix failing test --- tests/test_package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_package.py b/tests/test_package.py index 7bb74a1..13dceb9 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -201,9 +201,9 @@ def it_constructs_custom_part_type_for_registered_content_types(self): PartFactory.part_type_for[CT.WML_DOCUMENT_MAIN] = CustomPartClass part = PartFactory(partname, CT.WML_DOCUMENT_MAIN, blob) # verify ----------------------- - CustomPartClass.assert_called_once_with(partname, + CustomPartClass.load.assert_called_once_with(partname, CT.WML_DOCUMENT_MAIN, blob) - assert part is CustomPartClass.return_value + assert part is CustomPartClass.load.return_value class Describe_Relationship(object):