Skip to content

Commit 2ad3547

Browse files
Update Blog “sivayanama-testing-opsramp-apis-with-pytest-fixtures”
1 parent 53acf9d commit 2ad3547

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/blog/sivayanama-testing-opsramp-apis-with-pytest-fixtures.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OpsRamp platform  provides rich set of APIs. By using these APIs customers can
1818

1919
## What Fixtures are 
2020

21-
PyTest fixtures are a special type of python function that provision fixed base line for testing.With the help of this base line we can ensure tests are run in reliable manner and produce consistent results and the same tests can be repeatable.
21+
PyTest fixtures are a special type of python function that provision fixed base line for testing. With the help of this base line we can ensure tests are run in reliable manner and produce consistent results and the same tests can be repeatable.
2222

2323
## Install PyTest
2424

@@ -44,6 +44,9 @@ pytest 7.4.0
4444

4545
We can define fixtures just by decorating a simple python function with [@pytest.fixture](https://docs.pytest.org/en/6.2.x/reference.html#pytest.fixture) for example 
4646

47+
Python Decorators is a very powerful and convenient way to alter behviour of functions, For more details refer
48+
[Python Decorators](https://www.geeksforgeeks.org/decorators-in-python)
49+
4750
```python
4851
import pytest
4952

0 commit comments

Comments
 (0)