| 376 | eq_(tokyo.city, "Tokyo") |
| 377 | |
| 378 | def test_plain_db_lookup(self): |
| 379 | self._fixture_data() |
| 380 | # not sure what this is testing except the fixture data itself |
| 381 | eq_( |
| 382 | db2.connect().execute(weather_locations.select()).fetchall(), |
| 383 | [(1, "Asia", "Tokyo")], |
| 384 | ) |
| 385 | eq_( |
| 386 | db1.connect().execute(weather_locations.select()).fetchall(), |
| 387 | [ |
| 388 | (2, "North America", "New York"), |
| 389 | (3, "North America", "Toronto"), |
| 390 | ], |
| 391 | ) |
| 392 | |
| 393 | def test_plain_core_lookup_w_shard(self): |
| 394 | sess = self._fixture_data() |