Uninett / zinolib

Python library for zino
Apache License 2.0
1 stars 3 forks source link

Initialize ritz with default authenticated value #26

Closed podliashanyk closed 11 months ago

podliashanyk commented 11 months ago

Ritz class has property authenticated set to True or False only on some method calls. This leads to AttributeError: 'ritz' object has no attribute 'authenticated' when checking its value before any of those methods are called.

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

github-actions[bot] commented 11 months ago

Test results

0 tests   0 :heavy_check_mark:  0s :stopwatch: 0 suites  0 :zzz: 0 files    0 :x:

Results for commit 7841c52b.

codecov[bot] commented 11 months ago

Codecov Report

Merging #26 (7841c52) into main (d344a10) will increase coverage by 0.09%. Report is 4 commits behind head on main. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
+ Coverage   67.63%   67.73%   +0.09%     
==========================================
  Files           9        9              
  Lines        1029     1032       +3     
==========================================
+ Hits          696      699       +3     
  Misses        333      333              
Files Coverage Δ
src/zinolib/controllers/base.py 96.77% <100.00%> (ø)
src/zinolib/controllers/zino1.py 70.66% <100.00%> (ø)
src/zinolib/event_types.py 99.41% <100.00%> (ø)
src/zinolib/ritz.py 56.44% <100.00%> (+0.25%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more