14 lines
316 B
Python
14 lines
316 B
Python
import os
|
|
import pytest
|
|
from io import StringIO
|
|
from eorg.parser import parse
|
|
|
|
CODE_BLOCK_EXAMPLE_01 = StringIO("""
|
|
#+BEGIN_SRC shell :results silent :tangle.env
|
|
elcato create --path=/tmp/myblog
|
|
#+END_SRC""")
|
|
|
|
def test_block_settings():
|
|
result = parse(CODE_BLOCK_EXAMPLE_01)
|
|
assert [i for i in result] == []
|