mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-19 04:28:31 +02:00
delete unused function
This commit is contained in:
parent
502d47f223
commit
2e09d88338
1 changed files with 0 additions and 12 deletions
|
@ -6,20 +6,8 @@ import pytest
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def datestr():
|
def datestr():
|
||||||
|
|
||||||
yield "2020-10-20 16:59"
|
yield "2020-10-20 16:59"
|
||||||
|
|
||||||
|
|
||||||
from textwrap import TextWrapper
|
|
||||||
|
|
||||||
|
|
||||||
def provide_date_wrapper(initial_linewrap):
|
|
||||||
wrapper = TextWrapper(
|
|
||||||
width=initial_linewrap, initial_indent=" ", subsequent_indent=" "
|
|
||||||
)
|
|
||||||
return wrapper
|
|
||||||
|
|
||||||
|
|
||||||
def build_card_header(datestr):
|
def build_card_header(datestr):
|
||||||
top_left_corner = "┎─╮"
|
top_left_corner = "┎─╮"
|
||||||
content = top_left_corner + datestr
|
content = top_left_corner + datestr
|
||||||
|
|
Loading…
Add table
Reference in a new issue