'See if database is set up properly.'

def test_set_attr(self):

    assert (sorted(self.db) == [u'__version__', u'catalogs', u'content'])
    assert (self.db[u'content'] == [u'A', u'B', u'C'])
    assert (self.db._url_keys[u'bar.foo'] == [u'foo'])
    assert (self.db.version == 1)
    assert (len(self.db) == 1)
