def test_using_keyword(self):
        self.assert_count(self.model, 0)
        self.assert_count(self.model, 0, using='legacy')

        self.assert_create(self.model, using='legacy', **self.kwargs)

        self.assert_count(self.model, 0)
        self.assert_not_count(self.model, 0, using='legacy')
        self.assert_count(self.model, 1, using='legacy')

        for key, value in self.kwargs.items():
            self.assert_not_read(self.model, **{key: value})

        for key, value in self.kwargs.items():
            self.assert_read(self.model, using='legacy', **{key: value})

        try:
            self.assert_update(self.model, **self.sgrawk)
        except __HOLE__:
            pass
        else:
            assert False, 'Any %r model should be exist in default ' \
                          'database.' % self.model

        self.assert_update(self.model, using='legacy', **self.sgrawk)

        self.assert_not_read(self.model, **self.kwargs)
        self.assert_not_read(self.model, using='legacy', **self.kwargs)

        self.assert_delete(self.model)
        self.assert_delete(self.model, using='legacy')

        self.assert_count(self.model, 0)
        self.assert_count(self.model, 0, using='legacy')
dataset/ETHPy150Open playpauseandstop/tddspry/tests/testproject/multidb/tests/test_models.py/TestModels.test_using_keyword