def test_can_get_list_of_products(self): """Test that we can get an example repository of product from file. """ gift_repo = Product.get_example_gift_repository(self.db_conn) self.assertEqual(len(gift_repo), 20)