Commit Graph

8 Commits (900978936e6e7d69b0c0bb2923276cc3d04c5758)

Author SHA1 Message Date
Thu Trang Pham 14dc6268b0
fix(Issue-27): Confirmations not triggered on models with validation failures (#30)
* feat(ISSUE-27): Added some validation integration tests

* feat(ISSUE-27): Integration tests for validations

* feat(ISSUE-27): Unable to select autocomplete with selenium

* feat(ISSUE-27): Fix file caching with proper FileCache

* feat(ISSUE-27): Some minor tweaks

* feat(ISSUE-27): Try reviewdog

* feat(ISSUE-27): Remove noisy linting

* feat(ISSUE-27): Black format

* feat(ISSUE-27): Adding some simple file cache tests

* feat(ISSUE-27): Some cleaning up

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-04-28 12:03:16 -07:00
Thu Trang Pham 4d6b2900d8
Added testing for DateField, DateTimeField, and validators on the Model and ModelForm (#23)
* Added testing for DateField and DateTimeField

* Update makefile

* Adding some of the tests with validators on model

* Added ModelForm clean_field and clean tests

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-03-31 12:46:02 -07:00
Thu Trang Pham ad7409b567
Add integration tests (#20)
* Adding integration tests with inlines

* Adding more tests

* FIx make file

* Setup CI build matrix to work with integration tests

* Try again

* Fix workflow synctax

* Clean up workflow

* Format and some lint stuff

* Try codecov

* yml

* More Testing

* Minor lint things

* Update

* Try again for codecov

* Updates

* Try?

* Ignore quotes

* Exclude test project

* try this?

* checkout required

* Rename

* clean up configs

* Fix

* Allow to fail

* ignores

* FInish the integration tests for cache

* Fix workflow yml

* fix

* Try up again

* TRy again

* Fix

* Fix

* Fix tests

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-03-05 19:54:01 -08:00
Thu Trang Pham 06d3e1a208
fix(MR-16): Use cache for FileField and ImageField (#17)
* Remove casting to list in _get_form_data

* Use cache for most fields and admin form for m2m files

* MR comments/clean up

* Cache should obey exclude and fields

* Some more tests and docs

* Only use cache for image files

* Even more tests and handle save as new

* fix test

* More tests

* minor refactor

* Improve test coverage

* Add no cover for some places

* V0.2.3.dev7

* Adding tests for fieldsets

* Added cache timeout

* Added another test for an edge case

* Fix issue with ManagementForm tampered with

* Update cache to only set when form is_multipart

* Even more testing changes

* Update based on comments on MR and clean up a bit

* make test names better

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-02-27 15:39:01 -08:00
Thu Trang Pham 375b3d0917
feat(ISSUE-8): fixing error caused by ManyToManyField on confirmation (#9)
* feat(ISSUE-8): ISSUE-8: ManyToManyField causes error on confirmations

* feat(ISSUE-8): Update some readme and remove print statements

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-02-19 21:25:15 -08:00
Thu Trang Pham 209de62c9d
Setting up pyenv and show default value on confirm add (#7)
Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-02-09 17:03:18 -08:00
Thu Trang Pham a95383cfa2 Formatted with black and reached 100% coverage 2020-11-08 09:51:49 -08:00
Thu Trang Pham 220e9d8b41 inital commit 2020-10-31 14:24:45 -07:00