mirror of
https://github.com/shouptech/synthale.git
synced 2026-02-03 07:29:42 +00:00
Display color
This commit is contained in:
parent
2c50a4b513
commit
6e1a4c9d74
2 changed files with 5 additions and 5 deletions
|
|
@ -95,9 +95,9 @@ class MarkdownRecipe:
|
|||
self.recipe.fg),
|
||||
'{}: {}'.format(markdown.strong('Estimated IBU'),
|
||||
int(self.recipe.ibu)),
|
||||
'{}: {}'.format(markdown.strong('Estimated SRM'),
|
||||
'not implemented'),
|
||||
'{}: {:.1f}'.format(markdown.strong('Estimated ABV'),
|
||||
'{}: {:.1f}'.format(markdown.strong('Estimated SRM'),
|
||||
self.recipe.color),
|
||||
'{}: {:.1f} %'.format(markdown.strong('Estimated ABV'),
|
||||
self.recipe.abv)
|
||||
))
|
||||
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ def test_recipe_details(md_weizen):
|
|||
'**Estimated OG**: 1.051\n'
|
||||
'**Estimated FG**: 1.015\n'
|
||||
'**Estimated IBU**: 15\n'
|
||||
'**Estimated SRM**: not implemented\n'
|
||||
'**Estimated ABV**: 4.7'
|
||||
'**Estimated SRM**: 3.0\n'
|
||||
'**Estimated ABV**: 4.7 %'
|
||||
)
|
||||
|
||||
md_weizen.vol_unit = 'liters'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue