During Wednesday's episode of "Watch What Happens Live," Iggy Azalea got candid about working with Britney Spears and her purported feud with the "I'm a Slave 4 U" singer.

The Australian rapper also revealed that Spears' entourage did a clean sweep of her house for drugs before the popstar was allowed to enter the home.

Azalea told host Andy Cohen that before they started working on "Pretty Girls" last year, she and Spears got together for lunch at her house, but not before her crew searched the house for drugs.

"They came and checked my place to make sure I wasn't trying to stash anything weird and, like, give it to her, or something," Azalea said about her lunch with Spears, who has a history of substance abuse.

"Wait, Britney had advance people come scope out the place?" asked Cohen, who was taken back by Azalea's revelation.

"Yeah, to make sure I wasn't a bad influence," Azalea replied. "And I'm not. I passed the test! I was like, 'I promise, I'm not gonna do anything bad. I just want to have lunch.' I mean, I don't do anything weird. I don't have, like, a crack den."

When asked about her rumored feud with Spears, Azalea said that they never had any beef and their reported fallout was a story concocted by the media. "We're cool, we always have been. We never had a fight," Azalea told Cohen.

There were reports that Azalea threw shade on Spears after "Pretty Girls" bombed on the Billboard charts.

"Its difficult to send a song up the charts without additional promo and tv performances etc. unfortunately im just featured...," Azalea tweeted at the time. "I would have enjoyed performing it alot, i think it got off to a powerful start. but you need content to compete in 2015."

The rapper later clarified her stance by saying that her comments were not aimed at Spears and what she meant to say was that her single underperformed on the charts due to a lack of promotion.

However, Spears responded to Azalea's comments on Twitter. "Can't wait to get back to Vegas," she wrote. "So thankful I have shows for the rest of the year to look forward to... #YouWantAPieceOfMe," taking a dig at Azalea's cancelled Great Escape tour.