mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-07 10:41:56 +00:00
r rm default arg
This commit is contained in:
parent
8fbfff56d6
commit
f822dc9325
@ -5,7 +5,7 @@ from approvaltests.combination_approvals import verify_all_combinations
|
||||
|
||||
|
||||
class GildedRoseTest(unittest.TestCase):
|
||||
def do_stuff(self, name, sell_in=0, quality=0):
|
||||
def do_stuff(self, name, sell_in, quality):
|
||||
item = Item(name, sell_in, quality)
|
||||
gilded_rose = GildedRose([item])
|
||||
gilded_rose.update_quality()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user