Created
September 25, 2023 10:45
-
-
Save pydanny/0d326c36968480968aabfbfe8d18faf4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import os | |
import glob | |
from dj_notebook import activate | |
def test_thing(): | |
print(os.getcwd()) | |
os.chdir("tests/django_test_project") | |
print(glob.glob("*")) | |
print(os.getcwd()) | |
assert activate("book_store.settings") == "Hello, world!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment