def test_02_exceptions(): fpath_rel = r"\11_Errors\02_exceptions.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_03_pandas_methods_vs_functions(): fpath_rel = r"\01_Pandas\03_pandas_methods_vs_functions.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_02_strings(): fpath_rel = r"\10_data_types\strings\02_strings.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_idiomatic_python_exercise(): fpath_rel = r"\09_Code_Quality\04_idiomatic\idiomatic_python_exercise.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_04_dictionaries(): fpath_rel = r"\10_data_types\collections\04_dictionaries.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_Untitled(): fpath_rel = r"/basic2_basics_plotting/Untitled.ipynb" subdir, fname = os.path.split(fpath_rel) fdir = os.path.join(PROJECT_DIR, os.path.join(*tuple(subdir.split("/")))) return tf.run_notebook(fdir, fname, clearoutput=True)
def test_03_Quality_ZEN_of_Python(): fpath_rel = r"\09_Code_Quality\03_Quality_ZEN_of_Python.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_02_py_exploratory_comp_8(): fpath_rel = r"\01_Pandas\02_py_exploratory_comp_8.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_02_IntroSQLJoins(): fpath_rel = r"\08_Databases\02-IntroSQLJoins.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_04_dictionaries(): fpath_rel = r"/zz_alternative_basic/basic4_collections/04_dictionaries.ipynb" subdir, fname = os.path.split(fpath_rel) fdir = os.path.join(PROJECT_DIR, os.path.join(*tuple(subdir.split("/")))) return tf.run_notebook(fdir, fname, clearoutput=True)
def test_03_files(): fpath_rel = r"\07_read_write_text_files\03-files.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_02_strings(): fpath_rel = r"/zz_alternative_basic/basic3_strings/02_strings.ipynb" subdir, fname = os.path.split(fpath_rel) fdir = os.path.join(PROJECT_DIR, os.path.join(*tuple(subdir.split("/")))) return tf.run_notebook(fdir, fname, clearoutput=True)
def test_Running_code_(): fpath_rel = r"/zz_alternative_basic/basic1_use_jupyter/sources/Running code.ipynb" subdir, fname = os.path.split(fpath_rel) fdir = os.path.join(PROJECT_DIR, os.path.join(*tuple(subdir.split("/")))) return tf.run_notebook(fdir, fname, clearoutput=True)
def test_py_exploratory_comp_3(): fpath_rel = r"/basic3_arrays/py_exploratory_comp_3.ipynb" subdir, fname = os.path.split(fpath_rel) fdir = os.path.join(PROJECT_DIR, os.path.join(*tuple(subdir.split("/")))) return tf.run_notebook(fdir, fname, clearoutput=True)
def test_scipy_optimize_mb5_sol(): fpath_rel = r"\12_Optimize\scipy_optimize_mb5_sol.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_01_best_practices(): fpath_rel = r"\09_Code_Quality\01_best_practices.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_01_testing(): fpath_rel = r"\13_testing\01-testing.ipynb" fname = os.path.split(fpath_rel)[-1] fdir = PROJECT_DIR + os.path.split(fpath_rel)[0] return tf.run_notebook(fdir, fname, clearoutput=True)
def test_Notebook_Basics(): fpath_rel = r"/basic1_use_jupyter/sources/Notebook Basics.ipynb" subdir, fname = os.path.split(fpath_rel) fdir = os.path.join(PROJECT_DIR, os.path.join(*tuple(subdir.split("/")))) return tf.run_notebook(fdir, fname, clearoutput=True)