def test__minutes_since(self): """Test the _minutes_since helper method.""" an_hour_ago = utc_now() - datetime.timedelta(minutes=60) assert 60 == EnkiAPI._minutes_since(an_hour_ago)
def test__minutes_since(self): """Test the _minutes_since helper method.""" an_hour_ago = datetime.datetime.utcnow() - datetime.timedelta( minutes=60) eq_(60, EnkiAPI._minutes_since(an_hour_ago))
def test__minutes_since(self): """Test the _minutes_since helper method.""" an_hour_ago = datetime.datetime.utcnow() - datetime.timedelta( minutes=60 ) eq_(60, EnkiAPI._minutes_since(an_hour_ago))