[lang-ref] ( get_current_directory ) ( python )

def test_get_current_directory():
    # os.getcwd()
    current_directory = os.getcwd()
    assert current_directory.endswith('/learning-tests-python-pytest')
def test_get_current_directory_alternative():
    # os.curdir is not for this case
    assert os.curdir == '.'