Example #1
0
 def test_print(self):
     import bokeh
     bokeh.print_versions()
     # check the correct info is present
     sysinfo = [platform.python_version(),
                platform.python_implementation(),
                platform.platform(),
                bokeh.__version__]
     for info in sysinfo:
         self.assertIn(info, self.out.value)
Example #2
0
 def test_print(self):
     import bokeh
     bokeh.print_versions()
     # check the correct info is present
     sysinfo = [platform.python_version(),
                platform.python_implementation(),
                platform.platform(),
                bokeh.__version__]
     for info in sysinfo:
         self.assertIn(info, self.out.value)
Example #3
0
	def test_print(self):
		import bokeh
		#remove nodename from the system info
		sysinfo = list(platform.uname())
		del sysinfo[1]		
		bokeh.print_versions()
		#check the correct info is present
		for info in sysinfo:
			self.assertIn(info,self.out.value)
		self.assertIn(sys.version,self.out.value)
		self.assertIn(bokeh.__version__,self.out.value)
Example #4
0
 def test_print(self):
     import bokeh
     # remove nodename and processor from the system info
     sysinfo = list(platform.uname())
     del sysinfo[1]
     del sysinfo[-1]
     bokeh.print_versions()
     # check the correct info is present
     for info in sysinfo:
         self.assertIn(info, self.out.value)
     self.assertIn(sys.version, self.out.value)
     self.assertIn(bokeh.__version__, self.out.value)