Commit 60437053 authored by Tres Seaver's avatar Tres Seaver

More coverage for App.ApplicationManager.ApplicationManager.

parent 77f6f71f
...@@ -319,6 +319,21 @@ class ApplicationManagerTests(ConfigTestBase, ...@@ -319,6 +319,21 @@ class ApplicationManagerTests(ConfigTestBase,
f.close() f.close()
return fqn return fqn
def test_version_txt(self):
from App.version_txt import version_txt
am = self._makeOne()
self.assertEqual(am.version_txt(), version_txt())
def test_sys_version(self):
import sys
am = self._makeOne()
self.assertEqual(am.sys_version(), sys.version)
def test_sys_platform(self):
import sys
am = self._makeOne()
self.assertEqual(am.sys_platform(), sys.platform)
def test_ctor_initializes_Products(self): def test_ctor_initializes_Products(self):
from App.Product import ProductFolder from App.Product import ProductFolder
am = self._makeOne() am = self._makeOne()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment