brl1906/twitterbot-dgs

There is not a way to check that program changes or features don't break rules for cleaning the images folder to help ensure that any remote hosting service for the program doesn't unnecessarily store data, like tweeted chart images, that are not needed. Don't want to clutter up file storage with images.

Opened this issue · 0 comments

Write a test that:

  1. checks the date stamp in the file name for the image
  2. ensures that there is no file saved with the date stamp matching the current day or run
    time and that a function to wipe the data/images folder performs after a chart is created, saved and tweeted.
  3. ensures that there is not more than 10 files in the data/images folder
  4. ensures that there are no files older than 10 days (by date stamp) from today in the data/images folder