From 8eb9b6a4928f3941fb665a530262e355e96c6909 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 7 Dec 2021 08:28:15 +0100 Subject: [PATCH] Add simple loop Habit uuid test --- tests/test_loopdata.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/test_loopdata.py diff --git a/tests/test_loopdata.py b/tests/test_loopdata.py new file mode 100644 index 0000000..c79a208 --- /dev/null +++ b/tests/test_loopdata.py @@ -0,0 +1,6 @@ +from habitmove.loopdata import Habit + + +def test_uuid_sets_automatically(): + sut = Habit(name="testhabit") + assert sut.uuid