It's more of an example application, it also used matplotlib.

maybe it does not belong in the tests directory.




On Fri, Sep 27, 2013 at 5:17 PM, Roberto Aguilar
<notifications@github.com>wrote:

> In tests/test_horizons2plot.py:
>
> > +  def setUp(self):
> > +    ### Load default kernels
> > +    mydir = os.path.dirname(__file__)
> > +    self.kernels = [ os.path.join( mydir,i.strip()) for i in
> > +      """
> > +kernels/naif0010.tls
> > +kernels/spk_drm239_WithBurn-full.bsp
> > +      """.strip().split('\n') ]
> > +    for kernel in self.kernels: spice.furnsh( kernel )
> > +
> > +  def tearDown(self):
> > +    ### Unload any kernels
> > +    for kernel in self.kernels: spice.unload( kernel )
> > +
> > +  def test_horizons(self):
> > +    import horizons
>
> The horizons module depends on connectivity to a JPL server. Can this test
> be updated so the connection is not necessary?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rca/PySPICE/pull/12/files#r6639839>
> .
>