def test_search_non_residential_with_area(self):
     building = Building.search_non_residential(
         VacancyUser.objects.get(username='******'),
         Pref.objects.get(pk=26),  # 京都
         City.objects.get(pk=26102),  # 京都市上京区
         Area.objects.get(pk=26018),  # 今出川
     ).first()
     self.assertEqual(building.building_name, '表示項目確認用マンション')
 def test_search_non_residential_with_pref(self):
     building = Building.search_non_residential(
         VacancyUser.objects.get(username='******'),
         Pref.objects.get(pk=26),  # 京都
         None,
         None,
     ).first()
     self.assertEqual(building.building_name, '表示項目確認用マンション')