Skip to content

Commit

Permalink
Fix AttributeError: 'ExportBuilder' object has no attribute 'to_googl…
Browse files Browse the repository at this point in the history
…e_sheets' (#2458)

* handle validation for missing google export implementation

prevent application from crashing when google export is not enabled by performing validation

* refactor test suite

* fix failing tests

* fix failing tests

* revert changes made to onadata/libs/tests/utils/test_export_tools.py

* add test case

* refactor code
  • Loading branch information
kelvin-muchiri authored Jul 27, 2023
1 parent 81f0798 commit 1813f93
Show file tree
Hide file tree
Showing 4 changed files with 643 additions and 569 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
max-line-length = 88
select = C,E,F,W,B,B950
extend-ignore = E203,E501
extend-ignore = E203,E501,W503
per-file-ignores = __init__.py:F401
Loading

0 comments on commit 1813f93

Please sign in to comment.