title: Is it possible for a dataframe in python which has a read_sql function to be unit tested?
body: <p>How do I unit test a dataframe in python which basically reads the value from a database?
  To be a bit more precise here is the dataframe:</p>
  <p><code> df1 = pd.read_sql(db.session.query(Conversion_job).filter_by(name='update_bandit').statement, db.session.bind)</code></p>
  <p>Is it possible to write a unittest for the same? If yes then HOW?</p>