File: conftest.py

package info (click to toggle)
python-jedi 0.19.1%2Bds1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,680 kB
  • sloc: python: 28,783; makefile: 172; ansic: 13
file content (29 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Exists only for completion/pytest.py

import pytest


@pytest.fixture()
def my_other_conftest_fixture():
    return 1.0


@pytest.fixture()
def my_conftest_fixture(my_other_conftest_fixture):
    return my_other_conftest_fixture


def my_not_existing_fixture():
    return 3  # Just a normal function


@pytest.fixture()
def inheritance_fixture():
    return ''


@pytest.fixture
def capsysbinary(capsysbinary):
    #? ['close']
    capsysbinary.clos
    return capsysbinary