# Path: mapmyfitness/timezones.py
# ZERO = timedelta(0)
# class UTC(tzinfo):
#     def utcoffset(self, dt):
#     def tzname(self, dt):
#     def dst(self, dt):


from datetime import tzinfo, datetime, timedelta
from mapmyfitness.timezones import utc
import unittest



class MST(tzinfo):
    def utcoffset(self, dt):
      return timedelta(hours=-7)

    def dst(self, dt):
        timedelta(0)

mst = MST()


class TimezonesTest(unittest.TestCase):
    def test_timezones(self):
        mst_date = datetime(2014, 1, 6, 6, 28, 45, tzinfo=mst)

# Path: mapmyfitness/timezones.py
# ZERO = timedelta(0)
# class UTC(tzinfo):
#     def utcoffset(self, dt):
#     def tzname(self, dt):
#     def dst(self, dt):


# Path: tests/test_timezones.py
from datetime import tzinfo, datetime, timedelta
from mapmyfitness.timezones import utc
import unittest




class MST(tzinfo):
    def utcoffset(self, dt):
      return timedelta(hours=-7)

    def dst(self, dt):
        timedelta(0)

mst = MST()


class TimezonesTest(unittest.TestCase):
    def test_timezones(self):
        mst_date = datetime(2014, 1, 6, 6, 28, 45, tzinfo=mst)

        utc_date = mst_date.astimezone(utc)