def METHOD_NAME(self, db_session):
    """
    GIVEN: A new DataSource name
    WHEN:  Looking up the new DataSource by name with autocreate enabled
    THEN:  A new DataSource is returned
    """
    name = "Brand new data source"
    new_source = DataSource.lookup(db_session, name, autocreate=True)
    assert name == new_source.name
    assert False == new_source.offers_licenses
    name = "New data source with licenses"
    new_source = DataSource.lookup(
        db_session, name, autocreate=True, offers_licenses=True
    )
    assert True == new_source.offers_licenses