This function makes sure that the sample files are loaded, and returns the path the Agreements folter. We need the path to the agreements folder for the ``Library`` object. If you have your own data, simply exchange this function with another one that returns a path to you sample files.
()
| 61 | |
| 62 | |
| 63 | def set_up_agreements(): |
| 64 | '''This function makes sure that the sample files are loaded, and returns the path the Agreements |
| 65 | folter. We need the path to the agreements folder for the ``Library`` object. |
| 66 | |
| 67 | If you have your own data, simply exchange this function with another one that returns a path |
| 68 | to you sample files. |
| 69 | ''' |
| 70 | logger.info('Setting up Aggreements') |
| 71 | |
| 72 | sample_files_path = Setup().load_sample_files() |
| 73 | return os.path.join(sample_files_path, "Agreements") |
| 74 | |
| 75 | |
| 76 | def set_up_library( |
no test coverage detected