Python oslo_db.sqlalchemy.models.TimestampMixin() Examples
The following are 1
code examples of oslo_db.sqlalchemy.models.TimestampMixin().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
oslo_db.sqlalchemy.models
, or try the search function
.
Example #1
Source File: test_models.py From oslo.db with Apache License 2.0 | 5 votes |
def test_timestampmixin_attr(self): methods = ('created_at', 'updated_at') for method in methods: self.assertTrue(hasattr(models.TimestampMixin, method), "Method %s() is not found" % method)