mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-28 04:41:14 +00:00
Update texttest_fixture.py
This commit is contained in:
parent
dedad50044
commit
2a6cec9ab3
@ -1,10 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
|
||||
from gilded_rose import *
|
||||
|
||||
if __name__ == "__main__":
|
||||
print ("OMGHAI!")
|
||||
items = [
|
||||
Item(name="+5 Dexterity Vest", sell_in=10, quality=20),
|
||||
Item(name="Aged Brie", sell_in=2, quality=0),
|
||||
@ -19,6 +17,7 @@ if __name__ == "__main__":
|
||||
|
||||
days = 2
|
||||
import sys
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
days = int(sys.argv[1]) + 1
|
||||
for day in range(days):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user