Commit graph

8 commits

Author SHA1 Message Date
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
793b5638d3 style: Fix E201, E202, E401, E701
reported by sider: https://sider.review/gh/repos/1864194/pulls/13344?statuses#issues
2021-05-27 12:48:01 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Aditya Hase
ea2ab810e6
test(pdf): Generate PDF as a user
i.e. when frappe.session is set
2020-10-27 14:18:35 +05:30
Shivam Mishra
8e29bc4bf7 fix: possible fix to encoding issues in py3 2019-04-27 18:03:00 +05:30
Shivam Mishra
27fd3f7c99 feat: Refactored test and added tests for pdf encryption 2019-04-27 16:23:13 +05:30
lasalesi
4c6eb9b416 removed trailing whitespaces (codacy) 2018-03-21 13:47:23 +01:00
lasalesi
4b5af95bd9 added test case 2018-03-21 11:39:25 +01:00