“To get an indictment is a test of nothing because the agent goes in and testifies on hearsay on top of hearsay,” Davis’ lawyer Daniel Hochheiser told reporters when asked why Davis, who faces up to 80 years prison on four counts, waived indictment.

When asked if the move was a prelude to Davis cutting a plea deal, Hochneiser insisted, “Absolutely not! We look forward to trial.”

The buxom beached blonde allegedly sold hundreds of pills to a dealer from whom she had bought drugs in the past, and who secretly began working as an informant after getting arrested in December 2012.

A Manhattan federal court complaint says Davis, 38, personally handed over pills in exchange for cash on three occasions between January and March of 2013, and also arranged for another person to sell the dealer a stash in April.

All of the alleged exchanges occurred after Davis, 38, filed papers in July to run as a Libertarian Party candidate for city comptroller. She had announced her brief campaign a day after Spitzer — who resigned in disgrace over a prostitution scandal — said he would challenge Manhattan Borough President Scott Stringer for the Democratic nomination.

During her court appearance, Davis told Judge Edgardo Ramos that she is currently seeing a psychiatrist and taking the insomnia-relieving drug Ambien. She said she’s currently alert but was previously heavily medicated for a five-year period through prescription meds and that it affected her “cognitive abilities.”

She remained mum outside court, even declining questions about her education in response to her telling the judge she is going to “school.”

Among the notorious hooker booker’s escorts were foxy blond Rebecca Woodard, who claims in a new tell-all book that Spitzer lusted after violent sex — revealing in graphic detail how the love gov pinned her to a bed inside a posh, Murray Hill apartment and then gripped her by the neck until she feared for her safety.

The rough sex was scripted by Spitzer, who wanted his $1,500-a-session hooker to follow a role-play dialogue in which she would pretend she had just taken a self-defense class.

Davis is charged with four counts of distributing and possessing with intent to distribute a controlled substance. Each count carries a maximum sentence of 20 years in prison.