diff --git a/src/ifcfg/cli.py b/src/ifcfg/cli.py
index a489f28..fe48138 100644
--- a/src/ifcfg/cli.py
+++ b/src/ifcfg/cli.py
@@ -1,9 +1,12 @@
-import ifcfg
+from __future__ import print_function
+
 import json
 
+import ifcfg
+
 
 def main():
-    print json.dumps(ifcfg.interfaces(), indent=2)
+    print(json.dumps(ifcfg.interfaces(), indent=2))
 
 
 if __name__ == "__main__":

diff --git a/tests/cli_tests.py b/tests/cli_tests.py
new file mode 100644
index 0000000..3146025
--- /dev/null
+++ b/tests/cli_tests.py
@@ -0,0 +1,5 @@
+from ifcfg import cli
+
+
+def test_cli():
+    cli.main()

Python 2 syntax in `cli.py`
A `print` statement has entered the codebase!
tests/cli_tests.py::test_cli