(self)
| 218 | return sess |
| 219 | |
| 220 | def test_get(self): |
| 221 | sess = self._fixture_data() |
| 222 | tokyo = sess.get(WeatherLocation, 1) |
| 223 | eq_(tokyo.city, "Tokyo") |
| 224 | |
| 225 | newyork = sess.get(WeatherLocation, 2) |
| 226 | eq_(newyork.city, "New York") |
| 227 | |
| 228 | t2 = sess.get(WeatherLocation, 1) |
| 229 | is_(t2, tokyo) |
| 230 | |
| 231 | def test_get_one(self): |
| 232 | sess = self._fixture_data() |
nothing calls this directly
no test coverage detected