mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-22 18:01:07 +00:00
7 lines
226 B
Python
7 lines
226 B
Python
from approvaltests.namer.inline_comparator import InlineComparator
|
|
|
|
|
|
def parse_docstring():
|
|
lines = InlineComparator.get_test_method_doc_string().split("\n")[:-1]
|
|
return [line.split("->")[0].strip() for line in lines]
|