Skip to content

Commit b972218

Browse files
authored
example code length (connects #23)
1 parent 4c178d4 commit b972218

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

allure-pytest/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ Where **type** is a mime string or one of presets like pytest.allure.attachment_
1818
```python
1919
def test_attach_from_test():
2020
pytest.allure.attach(xml_body)
21-
pytest.allure.attach(xml_body, name='my xml attachment', attachment_type=pytest.allure.attachment_type.XML)
22-
21+
pytest.allure.attach(xml_body,
22+
name='my xml attachment',
23+
attachment_type=pytest.allure.attachment_type.XML)
24+
# ...
2325
```
2426

2527
Also you can attach files:

0 commit comments

Comments
 (0)