Skip to content

Commit

Permalink
Merge pull request #310 from Century-ss/bugfix-Untested/skipped-not-s…
Browse files Browse the repository at this point in the history
…how-skipped

bugfix: Untested/skipped in show all does not show skipped
  • Loading branch information
boxed committed Mar 15, 2024
2 parents efbfe14 + 652ce66 commit d598ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mutmut/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from pony.orm import Database, Required, db_session, Set, Optional, select, \
PrimaryKey, RowNotFound, ERDiagramError, OperationalError

from mutmut import MUTANT_STATUSES, BAD_TIMEOUT, OK_SUSPICIOUS, BAD_SURVIVED, UNTESTED, \
from mutmut import MUTANT_STATUSES, BAD_TIMEOUT, OK_SUSPICIOUS, BAD_SURVIVED, SKIPPED, UNTESTED, \
OK_KILLED, RelativeMutationID, Context, mutate

db = Database()
Expand Down Expand Up @@ -183,7 +183,7 @@ def print_stuff(title, mutant_query):
print_stuff('Timed out ⏰', select(x for x in Mutant if x.status == BAD_TIMEOUT))
print_stuff('Suspicious 🤔', select(x for x in Mutant if x.status == OK_SUSPICIOUS))
print_stuff('Survived 🙁', select(x for x in Mutant if x.status == BAD_SURVIVED))
print_stuff('Untested/skipped', select(x for x in Mutant if x.status == UNTESTED))
print_stuff('Untested/skipped', select(x for x in Mutant if x.status == UNTESTED or x.status == SKIPPED))


@init_db
Expand Down

0 comments on commit d598ea7

Please sign in to comment.