bcgov / ppr-deprecated

deprecated-Personal Property Registry
Apache License 2.0
2 stars 10 forks source link

Add Validation to Name Fields #859

Closed gh2os closed 4 years ago

gh2os commented 4 years ago

First past at adding some validation to the Party Schema:

Also added basic tests for IndividualName and Address classes

codecov[bot] commented 4 years ago

Codecov Report

Merging #859 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #859      +/-   ##
==========================================
+ Coverage   93.71%   93.75%   +0.04%     
==========================================
  Files          59       59              
  Lines        1336     1345       +9     
  Branches      116      117       +1     
==========================================
+ Hits         1252     1261       +9     
  Misses         82       82              
  Partials        2        2
Flag Coverage Δ
#python_unittests 97.2% <100%> (+0.03%) :arrow_up:
Impacted Files Coverage Δ
ppr-api/src/schemas/party.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 5d4aea4...932d7ff. Read the comment docs.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 1 Security Hotspot to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

jguertin commented 4 years ago

Closing, as it will not be completed