Skip to content

Document updates and tests#277

Merged
jgrewe merged 24 commits intoG-Node:masterfrom
mpsonntag:refDoc
Apr 13, 2018
Merged

Document updates and tests#277
jgrewe merged 24 commits intoG-Node:masterfrom
mpsonntag:refDoc

Conversation

@mpsonntag
Copy link
Copy Markdown
Contributor

This PR mainly updates and refactors Document and base.sectionable methods:

  • fixes a bug in the setting and getting of the date of a Document.
  • sets all simple attributes to None if it is set to empty string to be consistent with the same behavior in Section and Property.
  • refactors the base.sectionable.insert method.
  • refactors the base.sectionable.append method.
  • adds the base.sectionable.extend method.
  • now consistently uses BaseSection or BaseDocument for isinstance checks throughout base instead of a mixture of BaseSection and Section.
  • Updates the README introduction.
  • adds document tests.
  • adds document integration tests.
  • removes outdated document tests.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 13, 2018

Coverage Status

Coverage increased (+0.3%) to 74.468% when pulling b4fedcd on mpsonntag:refDoc into 40d088a on G-Node:master.

Copy link
Copy Markdown
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jgrewe jgrewe merged commit 23f9181 into G-Node:master Apr 13, 2018
@mpsonntag mpsonntag deleted the refDoc branch April 13, 2018 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants