@@ -343,7 +343,9 @@ def test_get_armc_angle(jd, coords, armc, all_angles):
343343 obliquity = ephemeris .earth_obliquity (jd )
344344
345345 for index in all_angles :
346- angle = ephemeris .get_armc_angle (index , armc , coords [0 ], obliquity , chart .PLACIDUS )
346+ angle = ephemeris .get_armc_angle (
347+ index , armc , coords [0 ], obliquity , chart .PLACIDUS
348+ )
347349 assert angle ["index" ] == index and angle ["type" ] == chart .ANGLE
348350
349351 assert ephemeris .get_armc_angle (
@@ -377,7 +379,9 @@ def test_get_armc_house(jd, coords, armc, all_houses):
377379 obliquity = ephemeris .earth_obliquity (jd )
378380
379381 for index in all_houses :
380- house = ephemeris .get_armc_house (index , armc , coords [0 ], obliquity , chart .PLACIDUS )
382+ house = ephemeris .get_armc_house (
383+ index , armc , coords [0 ], obliquity , chart .PLACIDUS
384+ )
381385 assert house ["index" ] == index and house ["type" ] == chart .HOUSE
382386
383387 assert ephemeris .get_armc_house (
@@ -471,8 +475,12 @@ def test_get_data(coords, jd, astro):
471475 "juno" : ephemeris .get_asteroid (chart .JUNO , jd ), # Included with planets
472476 "lilith" : ephemeris .get_asteroid (1181 , jd ), # From external file
473477 "antares" : ephemeris .get_fixed_star ("Antares" , jd ),
474- "pre_natal_solar_eclipse" : ephemeris .get_eclipse (chart .PRE_NATAL_SOLAR_ECLIPSE , jd ),
475- "pre_natal_lunar_eclipse" : ephemeris .get_eclipse (chart .PRE_NATAL_LUNAR_ECLIPSE , jd ),
478+ "pre_natal_solar_eclipse" : ephemeris .get_eclipse (
479+ chart .PRE_NATAL_SOLAR_ECLIPSE , jd
480+ ),
481+ "pre_natal_lunar_eclipse" : ephemeris .get_eclipse (
482+ chart .PRE_NATAL_LUNAR_ECLIPSE , jd
483+ ),
476484 "post_natal_solar_eclipse" : ephemeris .get_eclipse (
477485 chart .POST_NATAL_SOLAR_ECLIPSE , jd
478486 ),
@@ -540,6 +548,7 @@ def test_armc_get_data(coords, jd, astro, armc):
540548--------------------------------------------------------------------------------
541549"""
542550
551+
543552def test_part_of_fortune_day_formula (day_jd , coords ):
544553 sun , moon , asc = ephemeris .get_objects (
545554 (chart .SUN , chart .MOON , chart .ASC ), day_jd , * coords , chart .PLACIDUS
@@ -638,7 +647,12 @@ def test_is_daytime(day_jd, night_jd, coords):
638647
639648def test_armc_is_daytime (day_jd , coords , armc ):
640649 # Sun above ascendant in astro.com chart visual
641- assert ephemeris .armc_is_daytime (day_jd , armc , coords [0 ], ephemeris .earth_obliquity (day_jd )) is True
650+ assert (
651+ ephemeris .armc_is_daytime (
652+ day_jd , armc , coords [0 ], ephemeris .earth_obliquity (day_jd )
653+ )
654+ is True
655+ )
642656
643657
644658def test_is_daytime_from (day_jd , night_jd , coords ):
@@ -657,7 +671,7 @@ def test_moon_phase(jd):
657671 # Courtesy of https://stardate.org/nightsky/moon
658672 assert (
659673 ephemeris .moon_phase (jd ) == calc .THIRD_QUARTER
660- ) is True # third quarter = waning crescent
674+ ) is True # third quarter = waning crescent
661675
662676
663677def test_moon_phase_from (jd ):
@@ -666,7 +680,7 @@ def test_moon_phase_from(jd):
666680 moon = ephemeris .get_planet (chart .MOON , jd )
667681 assert (
668682 ephemeris .moon_phase_from (sun , moon ) == calc .THIRD_QUARTER
669- ) is True # third quarter = waning crescent
683+ ) is True # third quarter = waning crescent
670684
671685
672686def test_earth_obliquity (jd ):
@@ -840,6 +854,7 @@ def test_solar_year_length():
840854--------------------------------------------------------------------------------
841855"""
842856
857+
843858def test_previous_aspect (jd , coords ):
844859 # Check for previous Sun / Moon conjunction so we can use the same
845860 # test date/time as test_previous_new_moon()
0 commit comments