We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deab302 commit 21a5a8fCopy full SHA for 21a5a8f
axelrod/tests/unit/test_load_data.py
@@ -0,0 +1,15 @@
1
+import os
2
+import unittest
3
+
4
+from axelrod.load_data_ import axl_filename
5
6
7
+class TestLoadData(unittest.TestCase):
8
+ def test_axl_filename(self):
9
+ actual_fn = axl_filename("axelrod/strategies/titfortat.py")
10
11
+ # First go from "unit" up to "tests", then up to "axelrod"
12
+ dirname = os.path.dirname(__file__)
13
+ expected_fn = os.path.join(dirname, "../../strategies/titfortat.py")
14
15
+ self.assertTrue(os.path.samefile(actual_fn, expected_fn))
0 commit comments