Package pyraf :: Module gki_psikern_tests
[hide private]
[frames] | no frames]

Module gki_psikern_tests

source code

GKI PyRAF-to-psikern tests

The first version of this will be under-representative of the total functionality, but tests will be added over time, as code issues are researched and addressed.

$Id: gki_psikern_tests.py 801 2007-08-2 sontag $

Functions [hide private]
 
gki_single_prow_test()
Test a prow-plot of a single row from dev$pix to .ps
source code
 
gki_prow_1_append_test()
Test a prow-plot with 1 append (2 rows total, dev$pix) to .ps
source code
 
gki_prow_2_appends_test()
Test a prow-plot with 2 appends (3 rows total, dev$pix) to .ps
source code
 
gki_2_prows_no_append_test()
Test 2 prow calls with no append (2 dev$pix rows) to 2 .ps's
source code
 
gki_prow_to_different_devices_test()
Test 2 prow calls, each to different devices - one .ps written
source code
 
getNewestTmpPskFile(theBeforeList)
Do a glob in the tmp dir looking for psikern files, compare with the old list to find the single new (expected) file.
source code

Imports: glob, os, sys, iraf


Function Details [hide private]

getNewestTmpPskFile(theBeforeList)

source code 

Do a glob in the tmp dir looking for psikern files, compare with the old list to find the single new (expected) file. Return string filename.