def METHOD_NAME(self):
    self.run_calc(case_4.__file__, 'job_haz.ini,job_risk.ini',
                  exports='csv')
    fnames = export(('loss_maps-rlzs', 'csv'), self.calc.datastore)
    self.assertEqualFiles('expected/loss_maps-b1,b1.csv', fnames[0])
    self.assertEqualFiles('expected/loss_maps-b1,b2.csv', fnames[1])
    fnames = export(('loss_curves/rlzs/sid-0', 'csv'), self.calc.datastore)
    self.assertEqualFiles('expected/loss_curves-000.csv', fnames[0])
    self.assertEqualFiles('expected/loss_curves-001.csv', fnames[1])
    fnames = export(('loss_maps-stats', 'csv'), self.calc.datastore)
    self.assertEqual(len(fnames), 1)  # mean
    self.assertEqualFiles('expected/loss_maps-mean.csv', fnames[0])
    [fname] = export(('loss_curves/mean/sid-1', 'csv'),
                     self.calc.datastore)
    self.assertEqualFiles('expected/loss_curves-sid-1-mean.csv',
                          fname)