-
Notifications
You must be signed in to change notification settings - Fork 2
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
Generates cards stats after payment step #170
Conversation
Codecov Report
@@ Coverage Diff @@
## master #170 +/- ##
==========================================
+ Coverage 75.10% 75.15% +0.05%
==========================================
Files 67 67
Lines 1928 1932 +4
Branches 272 272
==========================================
+ Hits 1448 1452 +4
Misses 400 400
Partials 80 80
Continue to review full report at Codecov.
|
|
||
return u | ||
|
||
return make_user | ||
|
||
|
||
@pytest.fixture() | ||
def grant_kkreds(test_db: DB) -> callable: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be useful to testing payment later
session.add(u) | ||
session.commit() | ||
user_id = u.id | ||
# grant_kkreds(u, 1e10) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when I make S-tier cards this test will fail until this is uncommented
I split the UI changes into #172 |
ref #168
before
This is a problem: if you don't like the stats, why not just abandon the card and try recreating until you get stats you like? You need to pay to publish a card
after
Now you are stuck with that card's stats.
ui changessplit into #172