Skip to content

Commit

Permalink
PEP8 naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
vkurup committed Jan 13, 2013
1 parent 052cac6 commit d77d10c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tcxparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__version__ = '0.4.0'


class TcxParser:
class TCXParser:

def __init__(self, tcx_file):
tree = objectify.parse(tcx_file)
Expand Down
6 changes: 3 additions & 3 deletions test_tcxparser.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit d77d10c

Please sign in to comment.