Replaced deprecated assertEquals() with assertEqual() in RasterFieldTest.

This commit is contained in:
Mariusz Felisiak 2020-03-07 21:31:13 +01:00
parent e12fea24f0
commit a3917c323f
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ class RasterFieldTest(TransactionTestCase):
rast=Func(F('rast'), function='ST_SetBandIsNoData'),
)
r.refresh_from_db()
self.assertEquals(r.rast.bands[0].data(), [[no_data]])
self.assertEquals(r.rast.bands[0].nodata_value, no_data)
self.assertEqual(r.rast.bands[0].data(), [[no_data]])
self.assertEqual(r.rast.bands[0].nodata_value, no_data)
def test_model_creation(self):
"""