diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-16 06:58:59 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-16 06:58:59 +0000 |
commit | 661e77fb29a95949afdd85ced1ae775ac6a78e3c (patch) | |
tree | 880a6aa8effcb72ebba3f83b9a769e6c07234745 | |
parent | fb6d4a7c39173762da47397b3b83142e01b14597 (diff) | |
parent | 5da6884dbc169ad8daff64b4ab7abab27de4a195 (diff) | |
download | oslo-db-661e77fb29a95949afdd85ced1ae775ac6a78e3c.tar.gz |
Merge "Using assertIsNone(xxx) instead of assertEqual(None, xxx)"
-rw-r--r-- | oslo_db/tests/sqlalchemy/test_models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_db/tests/sqlalchemy/test_models.py b/oslo_db/tests/sqlalchemy/test_models.py index 893d96f..0b0f6d8 100644 --- a/oslo_db/tests/sqlalchemy/test_models.py +++ b/oslo_db/tests/sqlalchemy/test_models.py @@ -211,7 +211,7 @@ class SoftDeleteMixinTest(test_base.DbTestCase): self.session.add(m) self.session.commit() self.assertEqual(0, m.deleted) - self.assertIs(None, m.deleted_at) + self.assertIsNone(m.deleted_at) m.soft_delete(self.session) self.assertEqual(123456, m.deleted) |