unittest save button click in python
===

I am trying to learn python unit testing. i am searching for a best way to unit test a save button click. the save button click function takes two arguments, one is an instance and other is a list of instances. i want to unit test the save button click by comparing the data passed as argument and the data retrieved from the database after the save button is clicked. Can anybody help me to find out the best unit test method for testing my save button click 