Example #1
0
def test_autouuid_get_base_type():
    ('AutoUUID#get_base_type() should return the __base_type__')

    # Given an instance of autouuid
    autouuid = AutoUUID()

    # When I call get_base_type
    result = autouuid.get_base_type()

    # Then the result should be bytes
    result.should.equal(UUID)
Example #2
0
def test_autouuid_get_base_type():
    ('AutoUUID#get_base_type() should return the __base_type__')

    # Given an instance of autouuid
    autouuid = AutoUUID()

    # When I call get_base_type
    result = autouuid.get_base_type()

    # Then the result should be bytes
    result.should.equal(UUID)