Skip to content

Add test to ensure that an exception is raised if unique_key isn't implemented

In-memory Kafka writer didn't have any test. I'm adding a test that ensures that an exception is raised if the object doesn't have a unique_key when passed to the write_addition function.

For this, I have passed BaseModel(which doesn't have unique_key implemented) to the write_addition function and I'm checking if it raises a NotImplemented exception.

Related #2823 (closed)


Migrated from D5529 (view on Phabricator)

Merge request reports