44 Commits

Author SHA1 Message Date
493f33ad62 add comprehensive tests for all new movie functionality
Tests cover year, genre, quote, __str__/__repr__, get_all_movies,
get_random_quote, filter_by_genre, filter_by_decade, and the four
newly added movie classes.
2026-03-29 23:59:59 -07:00
2ceddd6291 add filter_by_genre() and filter_by_decade() search functions
Allows querying the filmography by genre (e.g. "crime") or by
decade (e.g. 1970 returns all 1970s movies).
2026-03-29 23:59:19 -07:00
ac22b802ef add get_random_quote() and get_all_movies() utility functions
get_all_movies() discovers all Movie subclasses and returns instances.
get_random_quote() picks a random movie and returns its quote.
2026-03-29 23:58:59 -07:00
c5b9ed879d add famous Al Pacino quotes to each movie class
Each movie now has a quote attribute with an iconic line from the
film, accessible via get_quote().
2026-03-29 23:58:45 -07:00
fa0952161d add genre metadata to all movie classes
Each movie now has a genre attribute (crime, drama, thriller) with
a get_genre() method following the same pattern as get_title/get_year.
2026-03-29 23:57:35 -07:00
a48bdb0ab0 add Dog Day Afternoon, Scent of a Woman, Insomnia, and The Irishman
Expands the filmography with four more iconic Al Pacino movies
spanning 1975-2019.
2026-03-29 23:57:13 -07:00
d01a7dc59c add __str__ and __repr__ methods to Movie base class
Allows meaningful string representation like "Heat (1995)" when
printing or logging movie objects.
2026-03-29 23:57:04 -07:00
591a67b17f add release year metadata to all movie classes
Each movie subclass now has a year attribute and the base class
has a get_year() method with the same NotImplementedError pattern.
2026-03-29 23:56:55 -07:00
9c6916840e fix README to reference movies module instead of non-existent animals module
The quick start example and test output referenced al_pacino.animals
which does not exist in this repo. Updated to use al_pacino.movies.
2026-03-29 23:56:43 -07:00
f868298e54 make it domain-specific 2022-09-10 15:12:52 -07:00
c904ce03af remove unused testmode file 2022-09-10 10:19:16 -07:00
70e35fe6ca update readme 2022-09-10 10:18:53 -07:00
756553cfce update requirements-test.txt name 2022-09-10 10:17:29 -07:00
1500644fe7 final touches 2022-09-10 10:04:58 -07:00
0a21adb5a8 add Goat 2022-09-10 10:03:45 -07:00
ad4f35c839 split tests into util and pacino, add second utils test 2022-09-10 10:03:33 -07:00
79415c8b18 split tests 2022-09-10 10:03:07 -07:00
67cd8c1fed remove unused env var 2022-09-10 10:02:40 -07:00
9863961c81 update test utils 2022-09-10 09:24:14 -07:00
94bb695112 split out test utils and add tests for util class 2022-09-10 09:23:04 -07:00
71afd4e711 fix 2022-09-10 09:12:29 -07:00
df2e2fe7aa add docs 2022-09-10 09:10:54 -07:00
efd49fddbc fixup 2022-09-10 09:10:43 -07:00
d8017d2dda add shields 2022-09-10 09:09:21 -07:00
25ff1f0b9c fix makefile 2022-09-10 08:10:14 -07:00
7992d8f567 update animal tests 2022-09-10 08:08:48 -07:00
f211586901 update animals. argh. 2022-09-10 08:08:22 -07:00
e29d41ad9b mystery test behavior. 2022-09-09 09:27:38 -07:00
fd140f5176 fix var name 2022-09-09 09:24:51 -07:00
907bef0b03 update tests 2022-09-09 09:24:21 -07:00
b0c827a86d add bump2version files 2022-09-09 09:24:09 -07:00
32592d93bb fluff pillow. add version. 2022-09-09 09:23:57 -07:00
fc965cf1c1 add test mode env var 2022-09-09 09:23:35 -07:00
4f3fa10da8 update readme 2022-09-09 09:23:20 -07:00
1b6052c456 simplify makefile, add build rule, add coverage report 2022-09-09 09:23:09 -07:00
7bf97c635b add flake8 config file to make lint check easier 2022-09-09 09:22:51 -07:00
86238d7516 add some filler material 2022-09-09 09:05:59 -07:00
4386923a1a simplify tests in makefile 2022-09-09 08:47:53 -07:00
382db162a3 add setup.py 2022-09-08 09:18:49 -07:00
029d5750b3 add requirements files 2022-09-08 09:18:41 -07:00
b4579195b2 add makefiles 2022-09-08 09:18:34 -07:00
a3531c2f42 add license and readme 2022-09-08 09:18:30 -07:00
d359cfb060 add environment file 2022-09-08 09:18:21 -07:00
e879fe596c add python gitignore 2022-09-08 09:17:48 -07:00