From 53e3d1bcaa735a9f187470aba7105feab7ad6157 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 17 Jul 2023 21:05:06 +0200 Subject: [PATCH] test --- __main__.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index 6066054..a0ac1c5 100755 --- a/__main__.py +++ b/__main__.py @@ -1,5 +1,18 @@ #! /usr/bin/env python3 +import os + +import file + if __name__ == '__main__': - pass + file_path = os.path.realpath(__file__) + root_path = os.path.dirname(file_path) + directory_path = os.path.join(root_path, 'tmp') + file_path = os.path.join(directory_path, 'file') + + file.wipe(directory_path) + file.make(directory_path) + file.write(file_path, 'Martine écrit beaucoup.') + file.empty(file_path) + file.write(file_path, 'Martine écrit moins.')