'Try to create a sequence object.'

def test_ir_sequence_create_no_gap(self):

    with environment() as env:
        seq = env['ir.sequence'].create({'code': 'test_sequence_type_6', 'name': 'Test    sequence', 'implementation': 'no_gap'})
        self.assertTrue(seq)
    with environment() as env:
        for i in xrange(1, 10):
            n = env['ir.sequence'].next_by_code('test_sequence_type_6')
            self.assertEqual(n, str(i))
