Skip to content

Commit 4c178d4

Browse files
authored
fix code highlighting (connects #23)
1 parent 9944fd8 commit 4c178d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

allure-pytest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pytest.allure.attach(*content*, name=*name*, attachment_type=*type*, extension=
1515

1616
Where **type** is a mime string or one of presets like pytest.allure.attachment_type.XML. Extension is defined for all presets.
1717

18-
```
18+
```python
1919
def test_attach_from_test():
2020
pytest.allure.attach(xml_body)
2121
pytest.allure.attach(xml_body, name='my xml attachment', attachment_type=pytest.allure.attachment_type.XML)
@@ -25,7 +25,7 @@ def test_attach_from_test():
2525
Also you can attach files:
2626
pytest.allure.attach.file(*path to file*, name=*name*, attachment_type=*type*, extension=*extension*)
2727

28-
```
28+
```python
2929
def test_attach_from_test():
3030
pytest.allure.attach(xml_body)
3131
```

0 commit comments

Comments
 (0)