Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database test changes #2265

Closed
nabobalis opened this issue Aug 16, 2017 · 0 comments
Closed

Database test changes #2265

nabobalis opened this issue Aug 16, 2017 · 0 comments
Labels
Bug Probably a bug database Affects the database submodule Tests Affects tests in some measure

Comments

@nabobalis
Copy link
Contributor

nabobalis commented Aug 16, 2017

META ISSUE ACTIVATE:

Changed Tests:

In sunpy/database/tests/test_database.py called test_fetch_duplicates and test_fetch.
Database len was 4, now 2. Changed by PR #2440.

In sunpy/database/tests/test_attrs.py, old results and names below. Changed by PR #2191.

test_walker_create_vso_instrument
# First result
wavemin=0.4132806430668068,
wavemax=7.293187818826002e-05
# Second result
wavemin=0.4132806430668068,
wavemax=7.293187818826002e-05

test_walker_create_wave
wavemin=0.4132806430668068,
wavemax=7.293187818826002e-05

In sunpy/database/tests/test_database.py, changed by PR #2191.

test_add_entries_from_qr_ignore_duplicates
assert len(database) == 50

In sunpy/database/tests/test_tables.py, changed by PR #2191.

test_entry_from_qr_block
fileid='/archive/soho/private/data/processed/eit/lz/2001/01/efz20010101.010014',
observation_time_start=datetime(2001, 1, 1, 1, 0, 14),
observation_time_end=datetime(2001, 1, 1, 1, 0, 21),
instrument='EIT', size=2059.0, wavemin=17.1, wavemax=17.1)

test_entries_from_query_result
fileid='/archive/soho/private/data/processed/eit/lz/2001/01/efz20010101.070014',
observation_time_start=datetime(2001, 1, 1, 7, 0, 14),
observation_time_end=datetime(2001, 1, 1, 7, 0, 21),
instrument='EIT', size=2059.0, wavemin=17.1, wavemax=17.1)

test_entry_from_query_results_with_none_wave_and_default_unit
assert len(entries) == 7
#These were removed since they were not returned anymore.
DatabaseEntry(
source='SOHO', provider='SDAC', physobs='intensity',
fileid='/archive/soho/private/data/processed/virgo/spm/SPM_blue_intensity_series.tar.gz',
observation_time_start=datetime(1996, 4, 11, 0, 0, 0),
observation_time_end=datetime(2014, 3, 30, 23, 59, 0),
instrument='VIRGO', size=32652.0, wavemin=None,
wavemax=None),
DatabaseEntry(
source='SOHO', provider='SDAC', physobs='intensity',
fileid='/archive/soho/private/data/processed/virgo/spm/SPM_green_intensity_series.tar.gz',
observation_time_start=datetime(1996, 4, 11, 0, 0, 0),
observation_time_end=datetime(2014, 3, 30, 23, 59, 0),
instrument='VIRGO', size=32652.0, wavemin=None,
wavemax=None),
DatabaseEntry(
source='SOHO', provider='SDAC', physobs='intensity',
fileid='/archive/soho/private/data/processed/virgo/spm/SPM_red_intensity_series.tar.gz',
observation_time_start=datetime(1996, 4, 11, 0, 0, 0),
observation_time_end=datetime(2014, 3, 30, 23, 59, 0),
instrument='VIRGO', size=32652.0, wavemin=None,
wavemax=None),
@nabobalis nabobalis added 0.8.x Affects Dev An issue/bug that affects master Affects Release An issue/bug that affects a released version (use a version label too) labels Aug 16, 2017
@nabobalis nabobalis added the Hacktoberfest Issues that could be the focus of GSoC or Hacktoberfests label Oct 4, 2017
@Cadair Cadair removed the Affects Dev An issue/bug that affects master label Nov 6, 2017
@nabobalis nabobalis added Bug Probably a bug Tests Affects tests in some measure and removed Hacktoberfest Issues that could be the focus of GSoC or Hacktoberfests 0.8.x labels Feb 1, 2018
@nabobalis nabobalis changed the title Skipped Tests Test Issues Feb 1, 2018
@nabobalis nabobalis added the Affects Dev An issue/bug that affects master label Feb 1, 2018
@sunpy sunpy deleted a comment from swapsha96 Feb 1, 2018
@nabobalis nabobalis removed Affects Dev An issue/bug that affects master Affects Release An issue/bug that affects a released version (use a version label too) labels Jan 22, 2019
@nabobalis nabobalis changed the title Test Issues Database test changes Jan 22, 2019
@ayshih ayshih added the database Affects the database submodule label Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Probably a bug database Affects the database submodule Tests Affects tests in some measure
Projects
None yet
Development

No branches or pull requests

3 participants