|
15 | 15 | class TestUtils(SpannerSimpleTestClass): |
16 | 16 | SQL_WITH_WHERE = "Select 1 from Table WHERE 1=1" |
17 | 17 | SQL_WITHOUT_WHERE = "Select 1 from Table" |
18 | | - # Only active LTS django versions (2.2.*, 3.2.*) are supported by this library right now. |
19 | | - SUPPORTED_DJANGO_VERSIONS = [(2, 2), (3, 2)] |
| 18 | + # Supported Django versions (5.2.*, 6.0.*) are supported by this library right now. |
| 19 | + SUPPORTED_DJANGO_VERSIONS = [(5, 2), (6, 0)] |
20 | 20 |
|
21 | 21 | def test_check_django_compatability_match(self): |
22 | 22 | """ |
23 | 23 | Checks django compatibility match. |
24 | 24 | """ |
25 | | - django_spanner.__version__ = "2.2" |
26 | | - django.VERSION = (2, 2, 19, "alpha", 0) |
| 25 | + django_spanner.__version__ = "5.2" |
| 26 | + django.VERSION = (5, 2, 0, "final", 0) |
27 | 27 | check_django_compatability(self.SUPPORTED_DJANGO_VERSIONS) |
28 | 28 |
|
29 | 29 | def test_check_django_compatability_mismatch(self): |
30 | 30 | """ |
31 | 31 | Checks django compatibility mismatch. |
32 | 32 | """ |
33 | | - django_spanner.__version__ = "2.2" |
34 | | - django.VERSION = (3, 1, 19, "alpha", 0) |
| 33 | + django_spanner.__version__ = "5.2" |
| 34 | + django.VERSION = (4, 2, 0, "final", 0) |
35 | 35 | with self.assertRaises(ImproperlyConfigured): |
36 | 36 | check_django_compatability(self.SUPPORTED_DJANGO_VERSIONS) |
37 | 37 |
|
|
0 commit comments