Commit c3230621 authored by Kirsten Bauck's avatar Kirsten Bauck
Browse files

Update test to work with updated code

parent b39cc3c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ def test_og2oc():


def test_reproject():
    with mock.patch('pyproj.transform', return_value=[1,1,1]) as mock_pyproj:
    with mock.patch('pyproj.Transformer.transform', return_value=[1,1,1]) as mock_pyproj:
        res = spatial.reproject([1,1,1], 10, 10, 'geocent', 'latlon')
        mock_pyproj.assert_called_once()
        assert res == (1,1,1)