Skip to content
Browse files

PEP8 naming convention

  • Loading branch information...
1 parent 052cac6 commit d77d10cdf969c68eb59d754fd5ff0f1280811912 @vkurup committed Jan 13, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 tcxparser.py
  2. +3 −3 test_tcxparser.py
View
2 tcxparser.py
@@ -5,7 +5,7 @@
__version__ = '0.4.0'
-class TcxParser:
+class TCXParser:
def __init__(self, tcx_file):
tree = objectify.parse(tcx_file)
View
6 test_tcxparser.py
@@ -1,12 +1,12 @@
import unittest
-from tcxparser import TcxParser
+from tcxparser import TCXParser
-class TestParseTcx(unittest.TestCase):
+class TestParseTCX(unittest.TestCase):
def setUp(self):
tcx_file = 'test.tcx'
- self.tcx = TcxParser(tcx_file)
+ self.tcx = TCXParser(tcx_file)
def test_latitude_is_correct(self):
self.assertEquals(self.tcx.latitude, 35.951880198)

0 comments on commit d77d10c

Please sign in to comment.
Something went wrong with that request. Please try again.