banillie / analysis_engine

Place for all code used to compile the quarterly PfM Report, manage GMPP data, as well as other useful data searching/analysis functions.
MIT License
2 stars 2 forks source link

Change tests data structure to use pickle file #17

Closed banillie closed 3 years ago

banillie commented 3 years ago

Change how test data is stored. Place all test data into a pickle file and then call this for all tests. Benefits:

@yulqen would appreciate your thoughts on the above. Cheers.

yulqen commented 3 years ago

I would look at using JSON instead of pickle. It's language agnostic, human-readable and more secure. There is a good JSON module in the Python standard library that does everything you need. Have a look and see what you think.

banillie commented 3 years ago

Brilliant. Thanks @yulqen

banillie commented 3 years ago

Closing as refactor of tests using pickle file complete. But .... next step is JSON.