lycantropos / hypothesis_sqlalchemy

hypothesis strategies for generating SQLAlchemy objects
MIT License
28 stars 8 forks source link

Unique by individual columns #16

Closed rubenhelsloot closed 5 years ago

rubenhelsloot commented 5 years ago

Addresses issue #15

Also added some code to prevent hypothesis from raising a HypothesisDeprecationWarning when using sampled_from with an empty list - you can revert this commit if you think it's not desirable.

codecov[bot] commented 5 years ago

Codecov Report

Merging #16 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #16   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          10     10           
  Lines         170    170           
=====================================
  Hits          170    170
Impacted Files Coverage Δ
hypothesis_sqlalchemy/columnar/records.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 256db16...7a9a77f. Read the comment docs.

lycantropos commented 5 years ago

thanks! I'll bump version & make release in a separate branch ASAP