etingof / pyasn1

Generic ASN.1 library for Python
http://snmplabs.com/pyasn1
BSD 2-Clause "Simplified" License
242 stars 118 forks source link

Allow combining constraints operating on sets #181

Closed etingof closed 4 years ago

etingof commented 4 years ago

Added ability of combining SingleValueConstraint and PermittedAlphabetConstraint objects into one for proper modeling FROM ... EXCEPT ... ASN.1 clause.

etingof commented 4 years ago

Attn: @russhousley

codecov-io commented 4 years ago

Codecov Report

Merging #181 into master will increase coverage by 0.02%. The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
+ Coverage   86.03%   86.06%   +0.02%     
==========================================
  Files          29       29              
  Lines        4282     4291       +9     
==========================================
+ Hits         3684     3693       +9     
  Misses        598      598
Impacted Files Coverage Δ
pyasn1/type/constraint.py 90.39% <93.33%> (+0.51%) :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 40d5a7f...cfc3f96. Read the comment docs.