import unittest
from app.models import Quote

class TestQuote(unittest.TestCase):
    def setUp(self):

        self.random_quote = Quote("Pascy Irabaruta", "Testing is a good thing!")

    def test_instance(self):
        self.assertTrue(isinstance(self.random_quote, Quote))

    def test_init(self):
        self.assertEqual(self.random_quote.author, "Pascy Irabaruta")
        self.assertEqual(self.random_quote.quote,"Testing is a good thing!")
