Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rating implementation #55

Merged
merged 2 commits into from
Nov 15, 2023
Merged

Rating implementation #55

merged 2 commits into from
Nov 15, 2023

Conversation

pboettch
Copy link
Collaborator

@pboettch pboettch commented Nov 9, 2023

A fixed field called rating is implemented, accepting values from 1 to 10, or None if not set.

A fixed field called rating is implemented, accepting values from 1 to 10,
or None if not set.
@jeandet
Copy link
Member

jeandet commented Nov 10, 2023

@pboettch it looks ok to me is this ready for merge?

@pboettch
Copy link
Collaborator Author

No, let me finish the work on tscat_gui with this change, to see whether it fits all the needs. In the best case, no more changes necessary here.

@jeandet jeandet marked this pull request as draft November 12, 2023 14:19
@pboettch pboettch marked this pull request as ready for review November 15, 2023 07:34
@@ -102,3 +102,30 @@ def test_constructor_with_dynamic_attribute_manual_access(self):
self.assertEqual(e.field_str, "string-test")
self.assertEqual(e.field_bool, True)
self.assertEqual(e.field_dt, dt_val)

def test_event_rating(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be split in two data driven tests.

tscat/base.py Show resolved Hide resolved
Copy link

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (aef1627) 100.00% compared to head (66e9ba7) 100.00%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #55   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         1674      1770   +96     
=========================================
+ Hits          1674      1770   +96     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jeandet jeandet merged commit 1d24f19 into SciQLop:main Nov 15, 2023
6 checks passed
@pboettch pboettch deleted the rating-impl branch November 15, 2023 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants