diff --git a/run_smoke_test.py b/run_smoke_test.py index aab240e..e5c4aff 100644 --- a/run_smoke_test.py +++ b/run_smoke_test.py @@ -4,6 +4,9 @@ from notion.smoke_test import run_live_smoke_test +# Following code is a sample. Input the code onto the terminal, with your own notion page URL and token_v2 +# python3 run_smoke_test.py --page https://www.notion.so/fitcuration/Myam-Myam-Love-a0d22196f58f4efb8a38bcf9b3e06459 --token e26b797ce5beaf4170f2699fdab0b6be375175fa6ca66c9d1a06ca08bc70d578ae2203f408bbbc38554c20357876387a9942152d868ac7c98240be964fd88496257bf0fbe8372de88db5a41c106a + if __name__ == "__main__": description = "Run notion-py client smoke tests" parser = argparse.ArgumentParser(description=description) @@ -15,6 +18,7 @@ token = args.token if not token: + # if you don't want your terminal to be filled with messy token, then input your token_v2 at "NOTION_TOKEN" token = os.environ.get("NOTION_TOKEN") if not token: print(