-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Buat direktori baru untuk fixture tes
- Loading branch information
Showing
5 changed files
with
87 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1 @@ | ||
import pytest | ||
|
||
from kbbi import KBBI | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def bin(): | ||
return KBBI("bin") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def quo_vadis(): | ||
return KBBI("quo vadis?") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def civitas_academica(): | ||
return KBBI("civitas academica") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def khayal(): | ||
return KBBI("khayal") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def semakin(): | ||
return KBBI("semakin") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def makin(): | ||
return KBBI("makin") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def keratabasa(): | ||
return KBBI("keratabasa") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def tampak(): | ||
return KBBI("tampak") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def menjadikan(): | ||
return KBBI("menjadikan") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def lampir(): | ||
return KBBI("lampir") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def kan(): | ||
return KBBI("kan") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def me_(): | ||
return KBBI("me-") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def _kan(): | ||
return KBBI("-kan") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def _lah(): | ||
return KBBI("-lah") | ||
from .fixtures import * # NOQA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .kbbi import * # NOQA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import pytest | ||
|
||
from kbbi import KBBI | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def bin(): | ||
return KBBI("bin") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def quo_vadis(): | ||
return KBBI("quo vadis?") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def civitas_academica(): | ||
return KBBI("civitas academica") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def khayal(): | ||
return KBBI("khayal") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def semakin(): | ||
return KBBI("semakin") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def makin(): | ||
return KBBI("makin") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def keratabasa(): | ||
return KBBI("keratabasa") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def tampak(): | ||
return KBBI("tampak") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def menjadikan(): | ||
return KBBI("menjadikan") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def lampir(): | ||
return KBBI("lampir") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def kan(): | ||
return KBBI("kan") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def awalan_me(): | ||
return KBBI("me-") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def akhiran_kan(): | ||
return KBBI("-kan") | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def terikat_lah(): | ||
return KBBI("-lah") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters